Re: cpan generate wrong Makefile ??
Yaakov Selkowitz <[email protected]> Thu, 20 May 2004 16:30:18 -0400
| Newsgroups | gmane.os.cygwin.perl |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 DominiX wrote: | for example with the latest Gtk2-1.042 the building process hang at link | stage with a lot of symbols undefined. all these symbols belong to libGlib2 | but nothing reference the file | /usr/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/Glib/libGlib.d | ll.a The gtk2-perl packages are unique in that the .dlls themselves depend on another. Therefore they also made a ExtUtils::Depends module, which is needed to build the Glib, Gtk2* and Gnome2* modules. This doesn't do everything necessary, however, for Cygwin (or Win32). | if I just append this ligne on the gcc command line everything build | correctly. | so I usualy modify Makefile to append this line right after | PERL_ARCHIVE = $(PERL_INC)/libperl.dll.a | like | PERL_ARCHIVE = $(PERL_INC)/libperl.dll.a \ | /usr/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/Glib/libGlib.d | ll.a | | *or* append | PERL_ARCHIVE_AFTER = | /usr/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/Glib/libGlib.d | ll.a | | and it compile and test with no trouble, but this look like weird to me. | is there a setting for any MakeMaker or Extutils that I'm missing ? | Am I the only one to have this problem ? No, you're not. There are other problems as well, namely with the ApiDoc system (which runs only if you call make manifypods). I spent some time discussing these issues with the gtk2-perl developers, but they were under pressure from the GNOME Bindings deadline at the time, and said that they wouldn't be able to fix the causes of these problems in time. Since I found workarounds for these problems, I went ahead and built them that way. So I'll save you the trouble: I have binary and source packages for most of the gtk2-perl modules on my project page: http://sourceforge.net/projects/cygwin-gnome2/ Yaakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFArRVUpiWmPGlmQSMRAr6OAJsHSbJA2BLLPAjg+TVOF/MAp/lXggCghPOJ xcaVPU0thuA3/7GxquMB63o= =uvNC -----END PGP SIGNATURE----- ------------------------ Yahoo! Groups Sponsor ---------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/ndFolB/TM