Hallo Michael,

Am Mittwoch, 19. Juni 2002 um 04:12 schriebst du:

> On Tue, Jun 18, 2002 at 08:54:00AM -0500, B. K. Oxley (binkley) wrote:
>> You have recently (6.01, I think?) broken MakeMaker for Cygwin.

> Does it smoke, explode or spark?  Does it rearrange your furniture in the
> middle of the night?  :)  What's broken?


>> The fix is trivial.  In MM_Cygwin.pm:
>> 
>> sub perl_archive {
>>     if ($Config{useshrplib} eq 'true') {
>>         my $libperl = '$(PERL_INC)' .'/'. "$Config{libperl}";
>>         #$libperl =~ s/a$/dll.a/; # THIS IS THE BROKEN LINE
>>         $libperl =~ s/a$/dll/; # THIS IS THE FIXED LINE
>>         return $libperl;
>>     } else {
>>         return '$(PERL_INC)' .'/'. ("$Config{libperl}" or "libperl.a");
>>     }
>> }
>> 
>> The problem shows up building modules needing compilation.

> That code was added in bleadperl@14453 about three months ago as part of
> MakeMaker 5.50_01 by Gerrit.  I've CC'd him.  Gerrit?
> 
>http://public.activestate.com/cgi-bin/perlbrowse?filename=lib%2FExtUtils%2FMM_Cygwin.pm&action=patch&patch=14453&.submit=&.cgifields=action

$ ls /lib/perl5/site_perl/5.8.0/cygwin-multi-64int/auto/DBI/
DBI.bs  DBI.dll*  DBIXS.h  Driver.xst  dbd_xsh.h  dbi_sql.h  dbipport.h  libDBI.dll.a

Recently I build DBI which works well.
So the fix obviously isn't needed/used.
Anyway it is wrong:

$ perl -e 'use Config;print $Config{libperl};'
libperl.a

This is the static library and we want to link against the importlib
which is libperl.dll.a


Gerrit
-- 
"All faults& bugs are mine - Robert"
    from squid/acinclude.m4,   Sun Apr 21 05:21:21 2002

Reply via email to