cpan generate wrong Makefile ??

"DominiX" <[email protected]> Sun, 16 May 2004 20:14:55 -1000
Newsgroups gmane.os.cygwin.perl
Message-ID <00a201c43bd6$4711b740$0100a8c0@pastis>
when I build module for cygwin I often have strange problem
like Makefile that do not contain the right informations for linking

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

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 ?

anyway, have a good day.

-- dominix



------------------------ 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