issue with perl

Status
Not open for further replies.

booker

Banned
Banned
158
2011
14
0
i have a issue with my server

server is using centos 6 64bit

when i type
Code:
perl -e 'use Digest::SHA1'

i got

Code:
Can't locate Digest/SHA1.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

i try also
sudo perl -MCPAN -e'install Digest::SHA1'
Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted.
any one know how to fix tht
bcz i already have perl install on the server

ps i dont use any control panel
 
2 comments
Have you got CPAN module installed ??

Code:
yum install perl-CPAN

Then try installing SHA1 algorithm using CPAN.
 
Status
Not open for further replies.
Back
Top