2006/8/30, Monah Baki <[EMAIL PROTECTED]>:
Yesterday I installed Openbsd3.9 and wanted to install Digest::SHA1 using CPAN I get an error complaining the MD5 checksum is incorrect and to delete it from /root/.cpan../../etc etc (which I did). This happens with other modules too. I can download the modules manually and run "perl Makefile.pl", "make" & "make install", but was wandering why I'm having this problem.
I have the same problem with cpan on 4.0; trying to install anything (e.g. HTTP::Date) ends with errors about incorrect checksums, although gzip finds the tar.gz to be correct. Here's a log: ------------------------------ cpan> install HTTP::Date Running install for module HTTP::Date Running make for G/GA/GAAS/libwww-perl-5.805.tar.gz LWP not available CPAN: Net::FTP loaded ok Fetching with Net::FTP: ftp://ftp.freenet.de/pub/ftp.cpan.org/pub/CPAN/authors/id/G/GA/GAAS/libwww-perl-5.805.tar.gz Couldn't fetch libwww-perl-5.805.tar.gz from ftp.freenet.de LWP not available Fetching with Net::FTP: ftp://cpan.noris.de/pub/CPAN/authors/id/G/GA/GAAS/libwww-perl-5.805.tar.gz Couldn't fetch libwww-perl-5.805.tar.gz from cpan.noris.de LWP not available Fetching with Net::FTP: ftp://ftp.gwdg.de/pub/languages/perl/CPAN/authors/id/G/GA/GAAS/libwww-perl-5.805.tar.gz Couldn't fetch libwww-perl-5.805.tar.gz from ftp.gwdg.de LWP not available Fetching with Net::FTP: ftp://ftp.leo.org/pub/CPAN/authors/id/G/GA/GAAS/libwww-perl-5.805.tar.gz Trying with "/usr/bin/lynx -source" to get ftp://ftp.freenet.de/pub/ftp.cpan.org/pub/CPAN/authors/id/G/GA/GAAS/libwww-perl-5.805.tar.gz gzip: /home/ms/.cpan/sources/authors/id/G/GA/GAAS/libwww-perl-5.805.tar: unknown suffix: ignored Checksum mismatch for distribution file. Please investigate. Distribution id = G/GA/GAAS/libwww-perl-5.805.tar.gz CPAN_USERID GAAS (Gisle Aas <[EMAIL PROTECTED]>) CALLED_FOR HTTP::Date CONTAINSMODS LWP::Protocol::cpan LWP::Protocol::ftp HTTP::Status File::Listing LWP::Protocol::http10 HTTP::Headers HTTP::Cookies::Microsoft LWP::Protocol::nogo LWP::Protocol::nntp HTTP::Daemon LWP::Protocol::mailto HTML::Form LWP::Protocol::gopher LWP::ConnCache Net::HTTPS HTTP::Message HTTP::Cookies HTTP::Headers::Auth HTTP::Request::Common HTTP::Response LWP::Protocol::loopback HTTP::Cookies::Netscape LWP::Authen::Ntlm LWP::Authen::Basic HTTP::Request WWW::RobotRules LWP::Protocol LWP LWP::Protocol::data LWP::MediaTypes HTTP::Negotiate LWP::Protocol::https Net::HTTP::NB LWP::Simple Net::HTTP LWP::DebugFile LWP::RobotUA LWP::Protocol::file HTTP::Headers::Util HTTP::Headers::ETag LWP::Authen::Digest HTTP::Date LWP::Protocol::http LWP::MemberMixin LWP::UserAgent LWP::Protocol::GHTTP LWP::Debug LWP::Protocol::https10 WWW::RobotRules::AnyDBM_File Net::HTTP::Methods MD5_STATUS incommandcolor 1 localfile /home/ms/.cpan/sources/authors/id/G/GA/GAAS/libwww-perl-5.805.tar.gz I'd recommend removing /home/ms/.cpan/sources/authors/id/G/GA/GAAS/libwww-perl-5.805.tar.gz. Its MD5 checksum is incorrect. Maybe you have configured your 'urllist' with a bad URL. Please check this array with 'o conf urllist', and retry. ------------------------------ Now, while there might be a port of some perls, cpan should also work. So what am I doing wrong? Update: I installed p5-libwww-5.803, and cpan _now_ works. Me thinks some perls are missing for cpan to work... Best Martin