Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: RFC: Setting up a minGW compiling envronment for Perl 5.10

by Bloodrage (Monk)
on Mar 08, 2008 at 01:26 UTC ( #672922=note: print w/ replies, xml ) Need Help??


in reply to Re: RFC: Setting up a minGW compiling envronment for Perl 5.10
in thread RFC: Setting up a minGW compiling envronment for Perl 5.10

Now that we've sorted the mistakes with dlltool I now have these errors with dmake test. Sigh:

t/set-scroll-adjustments-signal......Gtk-ERROR **: Incompatible build! The code using GTK+ thinks GtkBox is of different size than it actually is in this build of GTK+. On Windows, this probably means that you have compiled your code with gcc without the -mms-bitfields switch, or that you are using an unsupported compiler. at I:\strawberry\cpan\b +uild\Gtk2- 1.164-jWrGfH\blib\lib/Gtk2/TestHelper.pm line 41. This application has requested the Runtime to terminate it in an unusu +al way. Please contact the application's support team for more information. t/set-scroll-adjustments-signal...... Dubious, test returned 3 (wstat +768, 0x300
Which causes it to skip almost all of the tests.


Comment on Re^2: RFC: Setting up a minGW compiling envronment for Perl 5.10
Select or Download Code
Re^3: RFC: Setting up a minGW compiling envronment for Perl 5.10
by Bloodrage (Monk) on Mar 08, 2008 at 07:13 UTC
    Dang, adding -mms-bitfields to CCFLAGS in the Makefile simply results in gcc: unrecognized option `-MMS-BITFIELDS'... hang on writing this makes me notice it might be case sensitive... yup. Case sentitive. Oooh some tests segfault :)
      Oooh some tests segfault

      Yes - and it's a bit of a disappointment after all one has gone through just to get it to build. In addition to the segfaults I get a number of "Can't locate object method ..." errors scattered throughout when I run the tests verbosely - eg (from Gdk.t) Can't locate object method "get_xid" via package "Gtk2::Gdk::Window" at t\gdk.t line 108. And some of the "isa" tests report that the object being scrutinised is not of the expected type - which seems bizarre to me.

      Still, the module is probably usable for most situations.

      Cheers,
      Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://672922]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-12-28 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls