develooper Front page | perl.perl5.porters | Postings from January 2012

Problem building 5.15.6 with mingw.org's gcc-4.5.2 on Windows Vista

Thread Next
From:
Sisyphus
Date:
January 6, 2012 00:09
Subject:
Problem building 5.15.6 with mingw.org's gcc-4.5.2 on Windows Vista
Message ID:
2B206088A52445A686D3C4EB97F7867E@desktop2
Hi,
The 'dmake -f makefile.mk' step goes ok for a couple of minutes until we get 
to:

######################
Creating Makefile.PL in cpan/Archive-Extract for Archive::Extract

Running Makefile.PL in cpan/Archive-Extract
C:\comp\perl-5.15.6\win32\..\miniperl.exe -I../../lib Makefile.PL 
INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none PERL_CORE=1
######################

At which point I get a popup complaining that libgcc_s_dw2-1.dll was not 
found.
But that file is in C:\MinGW\bin - which is in my path:

######################
C:\comp\perl-5.15.6\win32>path
PATH="C:\Program Files\Windows 
NT\Accessories";C:\_32\dmake;C:\MinGW\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\batch

C:\comp\perl-5.15.6\win32>\MinGW\perl\bin\perl \_32\plx\which.pl 
libgcc_s_dw2-1.dll
Found C:\MinGW\bin\libgcc_s_dw2-1.dll

######################

I can acknowledge both the pop up and the ensuing notification that 
perlglob.exe has stopped working ... and the build then continues on for a 
few seconds until:

######################
Creating Makefile.PL in cpan/Archive-Tar for Archive::Tar

Running Makefile.PL in cpan/Archive-Tar
C:\comp\perl-5.15.6\win32\..\miniperl.exe -I../../lib Makefile.PL 
INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none PERL_CORE=1
######################

At which point the same thing happens again, and so on, ad nauseam .......

Is this is a known issue ?
Have I missed doing something important in the editing of the makefile.mk ?
Why do these miniperl commands clobber my path ?

As an interim workaround I've just stuck a copy of libgcc_s_dw2-1.dll in the 
same folder as miniperl.exe (ie in the top-level source folder).
This seems to be working ok - the build is still running as I send this 
email.

Cheers,
Rob 


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About