LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CPAN.pm needs either the external programs tar, gzip and bzip2 (https://www.linuxquestions.org/questions/linux-newbie-8/cpan-pm-needs-either-the-external-programs-tar-gzip-and-bzip2-672469/)

anndy 09-26-2008 03:16 AM

CPAN.pm needs either the external programs tar, gzip and bzip2
 
just now,when i tried to install some perl modules for bugzilla,occurred one error,just like belows:

[root@localhost ~]# perl -MCPAN -e shell
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?)

cpan> install PatchReader
Going to read /root/.cpan/Metadata
Database was generated on Wed, 24 Sep 2008 09:26:55 GMT
Running install for module 'PatchReader'
Running make for J/JK/JKEISER/PatchReader-0.9.5.tar.gz
Fetching with LWP:
http://ppm.activestate.com/CPAN/auth...r-0.9.5.tar.gz

CPAN: checksum security checks disabled because Digest::SHA not installed.
Please consider installing the Digest::SHA module.

Scanning cache /root/.cpan/build for sizes
............................................................................DONE
DEL(1/1): /root/.cpan/build/tmp-7225

CPAN.pm needs either the external programs tar, gzip and bzip2
installed. Can't continue.

cpan> install Digest::SHA
Running install for module 'Digest::SHA'
Running make for M/MS/MSHELOR/Digest-SHA-5.47.tar.gz
Fetching with LWP:
http://ppm.activestate.com/CPAN/auth...HA-5.47.tar.gz
CPAN: checksum security checks disabled because Digest::SHA not installed.

CPAN.pm needs either the external programs tar, gzip and bzip2
installed. Can't continue.

cpan>

====================================================
first question to be here,i am a freshman in linux,anyone can help me ,thanks a lot.

trickykid 09-26-2008 10:58 AM

Well, that error would tell me that you don't have tar, gzip and bzip2 installed. Do you in fact have them installed? What distribution are you running?

knudfl 09-27-2008 02:18 AM

Quote:

Terminal does not support AddHistory.
The perl module "perl-Term-Readline-Gnu" seems missing.
http://search.cpan.org/dist/Term-ReadLine-Gnu/

Regards

anndy 09-27-2008 05:55 AM

Quote:

Originally Posted by trickykid (Post 3292568)
Well, that error would tell me that you don't have tar, gzip and bzip2 installed. Do you in fact have them installed? What distribution are you running?

thanks a lot for your reply first. but i am sure i have installed them.

anndy 09-27-2008 07:09 AM

Quote:

Originally Posted by knudfl (Post 3293132)
The perl module "perl-Term-Readline-Gnu" seems missing.
http://search.cpan.org/dist/Term-ReadLine-Gnu/

Regards

thanks,i will try to test your op


All times are GMT -5. The time now is 06:12 PM.