Cpan installation error

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Cpan installation error

Postby sandro » Tue May 15, 2007 5:16 am

Hi,

iam trying to install cpan from scratch installation...
when iam trying to install the modules this the error coming...!

any one knows how to overcome this..plse suggest me..!

cpan> install Digest::MD5
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz

gzip: /root/.cpan/sources/authors/01mailrc.txt.gz: not in gzip format
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz

gzip: /root/.cpan/sources/modules/02packages.details.txt.gz: not in gzip format
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Going to read /root/.cpan/sources/modules/03modlist.data.gz

gzip: /root/.cpan/sources/modules/03modlist.data.gz: not in gzip format
Can't locate object method "data" via package "C

PAN::Modulelist" (perhaps you forgot to load "CPAN::Modulelist"?) at (eval 37) line 1.
at /usr/lib/perl5/5.8.5/CPAN.pm line 3406
CPAN::Index::rd_modlist('CPAN::Index', '/root/.cpan/sources/modules/03modlist.data.gz') called at /usr/lib/perl5/5.8.5/CPAN.pm line 3129
CPAN::Index::reload('CPAN::Index') called at /usr/lib/perl5/5.8.5/CPAN.pm line 675
CPAN::exists('CPAN=HASH(0x97a1548)', 'CPAN::Module', 'Digest::MD5') called at /usr/lib/perl5/5.8.5/CPAN.pm line 1842
CPAN::Shell::expandany('CPAN::Shell', 'Digest::MD5') called at /usr/lib/perl5/5.8.5/CPAN.pm line 2078
CPAN::Shell::rematein('CPAN::Shell', 'install', 'Digest::MD5') called at /usr/lib/perl5/5.8.5/CPAN.pm line 2165
CPAN::Shell::install('CPAN::Shell', 'Digest::MD5') called at /usr/lib/perl5/5.8.5/CPAN.pm line 201
eval {...} called at /usr/lib/perl5/5.8.5/CPAN.pm line 201
CPAN::shell() called at -e line 1

Regards,
Sandro
sandro
 
Posts: 23
Joined: Sat May 05, 2007 9:10 am
Location: Hyderabad

Postby gardo » Tue May 15, 2007 10:16 am

what linux distro and perl version are you using?
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby sandro » Wed May 16, 2007 12:48 am

RHEL 4
perl 5.8.5-16 RHEL4

Regards,
Sandro
sandro
 
Posts: 23
Joined: Sat May 05, 2007 9:10 am
Location: Hyderabad

Postby ramindia » Wed May 16, 2007 3:12 am

Hi

if you are using RHEL ( licensed ?)

if its not licensed some of the packages will not update from RHEL
becuase of licence problems.

what instllation you did ?

server, desktop , custome

if you done custom, recomend for a starter to do everything, than minimal, so most of the package covered.

but check my post just couple of days back, Asterisk not starting in RHEL

using startup perl program.


still iam not able to figureout what is the problem. but when i get some solution sure will post back to group

ram
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby sandro » Wed May 16, 2007 8:20 am

Thanks Ram,

i have installed server and customise packages..

regards,
Sandro
sandro
 
Posts: 23
Joined: Sat May 05, 2007 9:10 am
Location: Hyderabad

Postby Abdul » Wed May 16, 2007 8:26 am

Sandro:

follow this sequence and check

Install Bundle::cpan first
reload cpan
install Digest::MD5

if not installed then try with

force install Digest::MD5
Abdul
 
Posts: 10
Joined: Fri May 11, 2007 8:50 am
Location: India

Postby Abdul » Thu May 17, 2007 5:03 am

Sandro,

I got the same error and i resolved by following on RedHat.

#LANG=C
#export LANG

after install Digest::MD5 from cpan

Hope this works for you
Abdul
 
Posts: 10
Joined: Fri May 11, 2007 8:50 am
Location: India


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 89 guests