Our CPAN setup was broken for some time, now (after some thrashing around) it appears fixed.

Our setup:

Debian Woody (upgraded from potato) perl 5.6.1 (in /usr/local/bin/perl installed by CPAN ) & perl 5.6.1 (in /usr/bin/perl installed by debian)

While broken CPAN (1.59 & 1.70 ) suggested that MD5 be installed so that MD5 feature would work and then said "MD5 requires Digest::MD5" and then said claimed "Digest::MD5" was already up to date.

The installation process for some cool modules like Parse::RecDescent apparently also depended on MD5 and also puked.

Looking at

/root/.cpan/build/MD5-2.02/MD5.pm

I learn:

 "The current C<MD5> module is just a wrapper around the C<Digest::MD5> module.  It is provided so that legacy code that rely on the old interface still work and get the speed benefit of the new module."

The error messages complaining about looking for version 2.24 and finding version 2.16 come from

       /usr/bin/perl /root/.cpan/build/MD5-2.02/Makefile.PL

..and seem to be coming from something called Dynaloader. The source code for Dyna loader.pm says it is supposed to load modules written in C.

Doing a  /usr/bin/locate on MD5.pm, I come up with a bunch of files in the @INC they all seem to be version 2.24 Using  /usr/bin/strings I examine the MD5.so files to find the ones that have version 2.16 and rename their parent directories Digest.bad </code>

Now, /usr/bin/perl  /root/.cpan/build/MD5-2.02/Makefile.PL complains that there is **NO** Digest::MD5, so I install it, install MD5 and all is now apparently fine.



email: mandog


In reply to our CPAN problem with MD5 fixed by mandog

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.