cpan/gunzip problems?
One way around this is to install Compress::Zlib; then CPAN will use
that module directly, instead of trying to use gzip to do something it
doesn't like. This takes a manual step:
cpan> install Compress::Zlib
CPAN: Storable loaded ok
Going to read /usr/local/packages/CPAN/Metadata
Database was generated on Mon, 15 Nov 2004 13:09:08 GMT
Running install for module Compress::Zlib
Running make for P/PM/PMQS/Compress-Zlib-1.33.tar.gz
LWP not available
CPAN: Net::FTP loaded ok
Trying with "/usr/bin/lynx -source" to get
ftp://cpan.cs.utah.edu/pub/CPAN/authors/id/P/PM/PMQS/Compress-Zlib-1.33.tar.gz
gzip:
/usr/local/packages/CPAN/sources/authors/id/P/PM/PMQS/Compress-Zlib-1.33.tar:
unknown suffix: ignored
CPAN: Digest::MD5 loaded ok
Trying with "/usr/bin/lynx -source" to get
ftp://cpan.cs.utah.edu/pub/CPAN/authors/id/P/PM/PMQS/CHECKSUMS
Checksum mismatch for distribution file. Please investigate.
Distribution id = P/PM/PMQS/Compress-Zlib-1.33.tar.gz
CPAN_USERID PMQS (Paul Marquess <pmqs@cpan.org>)
CALLED_FOR Compress::Zlib
CONTAINSMODS Compress::Zlib
MD5_STATUS
incommandcolor 1
localfile
/usr/local/packages/CPAN/sources/authors/id/P/PM/PMQS/Compress-Zlib-1.33.tar.gz
I'd recommend removing
/usr/local/packages/CPAN/sources/authors/id/P/PM/PMQS/Compress-Zlib-1.33.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.
cpan> ^Z
[1]+ Stopped perl -MCPAN -e shell
bash-2.05b# cd /usr/local/packages/CPAN/sources/authors/id/P/PM/PMQS
bash-2.05b# ls
CHECKSUMS Compress-Zlib-1.33.tar
Compress-Zlib-1.33.tar.gz
bash-2.05b# mv Compress-Zlib-1.33.tar Compress-Zlib-1.33.tar.gz
bash-2.05b# fg
perl -MCPAN -e shell (wd:
/usr/local/packages/CPAN/sources/authors/id/K/KW/KWILLIAMS)
install Compress::Zlib
Running install for module Compress::Zlib
Running make for P/PM/PMQS/Compress-Zlib-1.33.tar.gz
Checksum for
/usr/local/packages/CPAN/sources/authors/id/P/PM/PMQS/Compress-Zlib-1.33.tar.gz
ok
Scanning cache /usr/local/packages/CPAN/build for sizes
Compress-Zlib-1.33
and so on.
Weird, eh?
|