Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

our CPAN problem with MD5 fixed

by mandog (Curate)
on Jul 03, 2003 at 01:47 UTC ( [id://271042]=perlmeditation: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://271042]
Approved by mr_mischief
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found