cmac has asked for the wisdom of the Perl Monks concerning the following question:

Today I was using CPAN to upgrade a Perl library under Cygwin. Between 5 and 10 out of 40 or 50 upgrade candidates (from an 'r' command) resulted in a problem like this:
cpan[2]> install Math::BigRat Running install for module 'Math::BigRat' Running make for L/LE/LETO/Math-BigRat-0.24.tar.gz Checksum for /home/usb06693/.cpan/sources/authors/id/L/LE/LETO/Math-Bi +gRat-0.24.tar.gz ok CPAN.pm: Going to build L/LE/LETO/Math-BigRat-0.24.tar.gz 5 [main] perl 588 C:\cygwin\bin\perl.exe: *** fatal error - unab +le to remap \\?\C:\cygwin\lib\perl5\5.10\i686-cygwin\auto\Digest \SHA\SHA.dll to same address as parent: 0x542D0000 != 0x64940000 2263 [main] perl 2564 fork: child 588 - died waiting for dll loadin +g, errno 11 5396575 [main] perl 3484 C:\cygwin\bin\perl.exe: *** fatal error - una +ble to remap \\?\C:\cygwin\lib\perl5\5.10\i686-cygwin\auto\Diges t\SHA\SHA.dll to same address as parent: 0x542D0000 != 0x64940000 5408695 [main] perl 2564 fork: child 3484 - died waiting for dll loadi +ng, errno 11 10685099 [main] perl 2860 C:\cygwin\bin\perl.exe: *** fatal error - un +able to remap \\?\C:\cygwin\lib\perl5\5.10\i686-cygwin\auto\Dige st\SHA\SHA.dll to same address as parent: 0x542D0000 != 0x64940000 10697460 [main] perl 2564 fork: child 2860 - died waiting for dll load +ing, errno 11
The error kept recurring (with larger numbers preceding [main]) and I had to use the "Close" item in the upper-left corner of the Cygwin window to kill the execution.

Is such a problem familiar to anyone? Is there something I can do to fix it so these modules can be upgraded?

Best Regards,
cmac

Replies are listed 'Best First'.
Re: repetitive problem installing from CPAN on Cygwin
by Anonymous Monk on Feb 23, 2010 at 06:57 UTC
      Thanks much. I'll try that tomorrow.