Problem in upgrading CPAN
I am trying to upgrade CPAN and getting the following errors.
Please suggest how to proceed.
" CPAN.pm: Going to build A/AN/ANDK/CPAN-1.9800.tar.gz
Importing PAUSE public key into your GnuPG keychain... done!
(You may wish to trust it locally with 'gpg --lsign-key 450F89EC')
Checking if your kit is complete...
Writing Makefile for CPAN
Could not read '/root/.cpan/build/CPAN-1.9800-qmv5vY/META.yml'. Falling back to other methods to determine prerequisites
Can't exec "make": No such file or directory at /usr/share/perl/5.10/CPAN/Distribution.pm line 2003.
make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
ANDK/CPAN-1.9800.tar.gz : make NO "
fyi, I am using Debian Squeeze.
Thanks in advance,
Do you have package make installed?
aptitude install libyaml-appconfig-perl
"Failed during this command:
ANDYA/Test-Harness-3.23.tar.gz : make_test NO
GBARR/Scalar-List-Utils-1.23.tar.gz : make NO
SMUELLER/PathTools-3.33.tar.gz : make NO
SMUELLER/Data-Dumper-2.131.tar.gz : make NO
MSHELOR/Digest-SHA-5.70.tar.gz : make NO
PMQS/Compress-Raw-Bzip2-2.045.tar.gz : make NO
PMQS/Compress-Raw-Zlib-2.045.tar.gz : make NO
JSTOWE/TermReadKey-2.30.tar.gz : make NO
PMQS/IO-Compress-2.045.tar.gz : make_test NO "
Also, when I am trying to install YAML getting the following errors
perl -MCPAN -e 'install PERL::YAML'
"CPAN: Storable loaded ok (v2.20)
Database was generated on Wed, 14 Dec 2011 12:27:57 GMT
Warning: Cannot install PERL::YAML, don't know what it is.
Try the command
to find objects with matching identifiers.
CPAN: Time::HiRes loaded ok (v1.9719)"
Do you have all development tools installed, gcc, g++, libc-dev etc... ?
I don't run debian, but it seems development tools are combined in one package:
You may install them all at once with: apt-get install build-essential
but again I don't know debian, so...
This also works for me. I was getting Digest:MD5 could not be loaded
|All times are GMT -5. The time now is 04:01 AM.|