I used apt-get to install libraries on
ubuntu. Worked great.
On CentOS 5.7 server, apt-get doesn't work. I tried th approach below, but it was not successful: Any idea what is missing? Thanks. Brian [root@lsmb ~]# perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v2.00) Enter 'h' for help. cpan[1]> install Math::BigInt::GMP Reading '/root/.cpan/Metadata' Database was generated on Tue, 10 Sep 2013 00:09:39 GMT Fetching with LWP: ftp://cpan-du.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz Reading '/root/.cpan/sources/authors/01mailrc.txt.gz' ............................................................................DONE Fetching with LWP: ftp://cpan-du.viaverio.com/pub/CPAN/modules/02packages.details.txt.gz Reading '/root/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Thu, 12 Sep 2013 12:08:09 GMT ............................................................................DONE Fetching with LWP: ftp://cpan-du.viaverio.com/pub/CPAN/modules/03modlist.data.gz Reading '/root/.cpan/sources/modules/03modlist.data.gz' ............................................................................DONE Writing /root/.cpan/Metadata Running install for module 'Math::BigInt::GMP' Running make for P/PJ/PJACKLAM/Math-BigInt-GMP-1.37.tar.gz Checksum for /root/.cpan/sources/authors/id/P/PJ/PJACKLAM/Math-BigInt-GMP-1.37.tar.gz ok Scanning cache /root/.cpan/build for sizes .............................................................---------------DONE DEL(1/4): /root/.cpan/build/Compress-Raw-Bzip2-2.055-sQB6Sd DEL(2/4): /root/.cpan/build/Compress-Raw-Bzip2-2.055-sQB6Sd.yml DEL(3/4): /root/.cpan/build/Compress-Raw-Zlib-2.056-0bCX3T DEL(4/4): /root/.cpan/build/Compress-Raw-Zlib-2.056-0bCX3T.yml CPAN.pm: Building P/PJ/PJACKLAM/Math-BigInt-GMP-1.37.tar.gz Use of uninitialized value in scalar assignment at /usr/lib/perl5/5.8.8/CPAN/Distribution.pm line 1868. Use of uninitialized value in scalar assignment at /usr/lib/perl5/5.8.8/CPAN/Distribution.pm line 1869. Use of uninitialized value in scalar assignment at /usr/lib/perl5/5.8.8/CPAN/Distribution.pm line 1879. Use of uninitialized value in scalar assignment at /usr/lib/perl5/5.8.8/CPAN/Distribution.pm line 1880. Can't link/include 'gmp.h', 'gmp' No 'Makefile' created PJACKLAM/Math-BigInt-GMP-1.37.tar.gz /usr/bin/perl Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Could not read metadata file. Falling back to other methods to determine prerequisites Failed during this command: PJACKLAM/Math-BigInt-GMP-1.37.tar.gz : writemakefile NO -- No 'Makefile' created cpan[2]>
|