I am trying to install Net::SSH::Perl and it needs Math::GMP, which has been giving me fits. I have no idea what the problem is and hoping that someone else has come across this problem before.
Thank You I have cut out a lot of the messages that seemed redundant, but if its needed I will be happy to provide the full output. =============================== cpan[1]> install Math::GMP CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Thu, 11 Jan 2007 01:27:30 GMT Running install for module Math::GMP Running make for C/CH/CHIPT/Math-GMP-2.04.tar.gz CPAN: Digest::SHA loaded ok CPAN: Compress::Zlib loaded ok Checksum for /root/.cpan/sources/authors/id/C/CH/CHIPT/Math-GMP-2.04.tar.gz ok Scanning cache /root/.cpan/build for sizes Math-GMP-2.04/ Math-GMP-2.04/Changes Math-GMP-2.04/COPYING.LIB Math-GMP-2.04/MANIFEST Math-GMP-2.04/typemap Math-GMP-2.04/GMP.xs Math-GMP-2.04/t/ Math-GMP-2.04/t/gmppm.t Math-GMP-2.04/lib/ Math-GMP-2.04/lib/Math/ Math-GMP-2.04/lib/Math/GMP.pm Math-GMP-2.04/INSTALL Math-GMP-2.04/Makefile.PL Math-GMP-2.04/README Math-GMP-2.04/LICENSE Removing previously used /root/.cpan/build/Math-GMP-2.04 CPAN.pm: Going to build C/CH/CHIPT/Math-GMP-2.04.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Math::GMP cp lib/Math/GMP.pm blib/lib/Math/GMP.pm AutoSplitting blib/lib/Math/GMP.pm (blib/lib/auto/Math/GMP) /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap GMP.xs > GMP.xsc && mv GMP.xsc GMP.c cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -pipe -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I/usr/lib/perl5/5.8.8/i586-linux-thread-multi/CORE" GMP.c GMP.xs:4:17: error: gmp.h: No such file or directory GMP.xs: In function ‘constant’: GMP.xs:49: warning: label ‘not_there’ defined but not used GMP.c: In function ‘XS_Math__GMP_new_from_scalar’: GMP.c:93: error: ‘mpz_t’ undeclared (first use in this function) GMP.c:93: error: (Each undeclared identifier is reported only once GMP.c:93: error: for each function it appears in.) GMP.c:93: error: ‘RETVAL’ undeclared (first use in this function) GMP.xs:70: warning: implicit declaration of function ‘mpz_init_set_str’ GMP.c: In function ‘XS_Math__GMP_new_from_scalar_with_base’: GMP.c:114: error: ‘mpz_t’ undeclared (first use in this function) GMP.c:114: error: ‘RETVAL’ undeclared (first use in this function) GMP.c: In function ‘XS_Math__GMP_destroy’: GMP.c:133: error: ‘mpz_t’ undeclared (first use in this function) GMP.c:133: error: ‘n’ undeclared (first use in this function) GMP.c:137: error: expected expression before ‘)’ token GMP.c:136: warning: unused variable ‘tmp’ GMP.xs:90: warning: implicit declaration of function ‘mpz_clear’ GMP.c: In function ‘XS_Math__GMP_stringify_gmp’: GMP.c:157: error: ‘mpz_t’ undeclared (first use in this function) GMP.c:157: error: ‘n’ undeclared (first use in this function) GMP.xs:98: warning: ISO C90 forbids mixed declarations and code GMP.c:166: error: expected expression before ‘)’ token GMP.c:165: warning: unused variable ‘tmp’ GMP.xs:101: warning: implicit declaration of function ‘mpz_sizeinbase’ GMP.xs:105: warning: implicit declaration of function ‘mpz_get_str’ GMP.c: In function ‘XS_Math__GMP_get_str_gmp’: ... ... ... GMP.c: In function ‘XS_Math__GMP_gmp_sqrt’: GMP.c:1098: error: ‘mpz_t’ undeclared (first use in this function) GMP.c:1098: error: ‘m’ undeclared (first use in this function) GMP.c:1099: error: ‘RETVAL’ undeclared (first use in this function) GMP.c:1103: error: expected expression before ‘)’ token GMP.c:1102: warning: unused variable ‘tmp’ GMP.xs:466: warning: implicit declaration of function ‘mpz_sqrt’ make: *** [GMP.o] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Failed during this command: CHIPT/Math-GMP-2.04.tar.gz : make NO cpan[2]> =============================== _______________________________________________ kc mailing list [email protected] http://mail.pm.org/mailman/listinfo/kc
