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

In reply to repetitive problem installing from CPAN on Cygwin by cmac

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.