danran
March 28th, 2006, 01:52 PM
Hi, i'm using: Linux sevilla 2.6.12-9-386 #1 Mon Oct 10 13:14:36 BST 2005 i686 GNU/Linux - Breezy Badger 5.10
I'm trying to install Net::SSH::Perl but it keeps failing out when it gets to Math::GMP, which is a prerequisite. So I tried doing it manually with the command below:
dwozniak@sevilla:~$ sudo perl -MCPAN -e 'install Math::GMP'
CPAN: Storable loaded ok
Going to read /home/dwozniak/.cpan/Metadata
Database was generated on Tue, 28 Mar 2006 10:45:02 GMT
Running install for module Math::GMP
Running make for C/CH/CHIPT/Math-GMP-2.04.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /home/dwozniak/.cpan/sources/authors/id/C/CH/CHIPT/Math-GMP-2.04.tar.gz ok
Scanning cache /home/dwozniak/.cpan/build for sizes
Deleting from cache: /home/dwozniak/.cpan/build/URI-1.35 (24.5>10.0 MB)
Deleting from cache: /home/dwozniak/.cpan/build/HTML-Tagset-3.10 (23.9>10.0 MB)
Deleting from cache: /home/dwozniak/.cpan/build/HTML-Parser-3.51 (23.8>10.0 MB)
Deleting from cache: /home/dwozniak/.cpan/build/libwww-perl-5.805 (23.2>10.0 MB)
Deleting from cache: /home/dwozniak/.cpan/build/Math-Pari-2.010704 (21.2>10.0 MB)
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 /home/dwozniak/.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
Note (probably harmless): No library found for -lgmp
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/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap -typemap typemap GMP.xs > GMP.xsc && mv GMP.xsc GMP.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I/usr/lib/perl/5.8/CORE" GMP.c
GMP.xs:4:17: error: gmp.h: No such file or directory
GMP.c: In function ‘XS_Math__GMP_new_from_scalar’:
GMP.c:91: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:91: error: (Each undeclared identifier is reported only once
GMP.c:91: error: for each function it appears in.)
GMP.c:91: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c: In function ‘XS_Math__GMP_new_from_scalar_with_base’:
GMP.c:111: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:111: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c: In function ‘XS_Math__GMP_destroy’:
GMP.c:129: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:129: error: ‘n’ undeclared (first use in this function)
GMP.c:133: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_stringify_gmp’:
GMP.c:152: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:152: error: ‘n’ undeclared (first use in this function)
GMP.c:161: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_get_str_gmp’:
GMP.c:188: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:188: error: ‘n’ undeclared (first use in this function)
GMP.c:198: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_sizeinbase_gmp’:
GMP.c:225: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:225: error: ‘n’ undeclared (first use in this function)
GMP.c:232: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_uintify_gmp’:
GMP.c:251: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:251: error: ‘n’ undeclared (first use in this function)
GMP.c:257: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_add_ui_gmp’:
GMP.c:276: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:276: error: ‘n’ undeclared (first use in this function)
GMP.c:281: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_intify_gmp’:
GMP.c:299: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:299: error: ‘n’ undeclared (first use in this function)
GMP.c:305: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_mul_2exp_gmp’:
GMP.c:324: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:324: error: ‘n’ undeclared (first use in this function)
GMP.c:326: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:330: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_div_2exp_gmp’:
GMP.c:352: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:352: error: ‘n’ undeclared (first use in this function)
GMP.c:354: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:358: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_powm_gmp’:
GMP.c:380: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:380: error: ‘n’ undeclared (first use in this function)
GMP.c:382: error: ‘mod’ undeclared (first use in this function)
GMP.c:383: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:387: error: syntax error before ‘)’ token
GMP.c:394: error: syntax error before ‘)’ token
GMP.c:401: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_mmod_gmp’:
GMP.c:423: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:423: error: ‘a’ undeclared (first use in this function)
GMP.c:424: error: ‘b’ undeclared (first use in this function)
GMP.c:425: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:429: error: syntax error before ‘)’ token
GMP.c:436: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_mod_2exp_gmp’:
GMP.c:458: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:458: error: ‘in’ undeclared (first use in this function)
GMP.c:460: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:464: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_add_two’:
GMP.c:486: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:486: error: ‘m’ undeclared (first use in this function)
GMP.c:487: error: ‘n’ undeclared (first use in this function)
GMP.c:488: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:492: error: syntax error before ‘)’ token
GMP.c:499: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_sub_two’:
GMP.c:521: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:521: error: ‘m’ undeclared (first use in this function)
GMP.c:522: error: ‘n’ undeclared (first use in this function)
GMP.c:523: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:527: error: syntax error before ‘)’ token
GMP.c:534: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_mul_two’:
GMP.c:556: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:556: error: ‘m’ undeclared (first use in this function)
GMP.c:557: error: ‘n’ undeclared (first use in this function)
GMP.c:558: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:562: error: syntax error before ‘)’ token
GMP.c:569: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_div_two’:
GMP.c:591: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:591: error: ‘m’ undeclared (first use in this function)
GMP.c:592: error: ‘n’ undeclared (first use in this function)
GMP.c:593: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:597: error: syntax error before ‘)’ token
GMP.c:604: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_bdiv_two’:
GMP.c:627: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:627: error: ‘m’ undeclared (first use in this function)
GMP.c:628: error: ‘n’ undeclared (first use in this function)
GMP.xs:293: error: ‘quo’ undeclared (first use in this function)
GMP.xs:294: error: ‘rem’ undeclared (first use in this function)
GMP.c:636: error: syntax error before ‘)’ token
GMP.c:643: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_mod_two’:
GMP.c:669: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:669: error: ‘m’ undeclared (first use in this function)
GMP.c:670: error: ‘n’ undeclared (first use in this function)
GMP.c:671: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:675: error: syntax error before ‘)’ token
GMP.c:682: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_cmp_two’:
GMP.c:704: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:704: error: ‘m’ undeclared (first use in this function)
GMP.c:705: error: ‘n’ undeclared (first use in this function)
GMP.c:711: error: syntax error before ‘)’ token
GMP.c:718: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_gmp_legendre’:
GMP.c:737: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:737: error: ‘m’ undeclared (first use in this function)
GMP.c:738: error: ‘n’ undeclared (first use in this function)
GMP.c:744: error: syntax error before ‘)’ token
GMP.c:751: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_gmp_jacobi’:
GMP.c:770: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:770: error: ‘m’ undeclared (first use in this function)
GMP.c:771: error: ‘n’ undeclared (first use in this function)
GMP.c:777: error: syntax error before ‘)’ token
GMP.c:784: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_pow_two’:
GMP.c:803: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:803: error: ‘m’ undeclared (first use in this function)
GMP.c:805: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:809: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_gcd_two’:
GMP.c:832: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:832: error: ‘m’ undeclared (first use in this function)
GMP.c:833: error: ‘n’ undeclared (first use in this function)
GMP.c:834: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:838: error: syntax error before ‘)’ token
GMP.c:845: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_gmp_fib’:
GMP.c:868: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:868: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c: In function ‘XS_Math__GMP_and_two’:
GMP.c:887: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:887: error: ‘m’ undeclared (first use in this function)
GMP.c:888: error: ‘n’ undeclared (first use in this function)
GMP.c:889: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:893: error: syntax error before ‘)’ token
GMP.c:900: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_xor_two’:
GMP.c:922: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:922: error: ‘m’ undeclared (first use in this function)
GMP.c:923: error: ‘n’ undeclared (first use in this function)
GMP.c:924: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:928: error: syntax error before ‘)’ token
GMP.c:935: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_or_two’:
GMP.c:957: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:957: error: ‘m’ undeclared (first use in this function)
GMP.c:958: error: ‘n’ undeclared (first use in this function)
GMP.c:959: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:963: error: syntax error before ‘)’ token
GMP.c:970: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_gmp_fac’:
GMP.c:993: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:993: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c: In function ‘XS_Math__GMP_gmp_copy’:
GMP.c:1012: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:1012: error: ‘m’ undeclared (first use in this function)
GMP.c:1013: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:1017: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_gmp_tstbit’:
GMP.c:1038: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:1038: error: ‘m’ undeclared (first use in this function)
GMP.c:1045: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_gmp_sqrt’:
GMP.c:1064: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:1064: error: ‘m’ undeclared (first use in this function)
GMP.c:1065: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:1069: error: syntax error before ‘)’ token
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
I'm stumped, any ideas? Thanks.
--Dan W.](*,)
I'm trying to install Net::SSH::Perl but it keeps failing out when it gets to Math::GMP, which is a prerequisite. So I tried doing it manually with the command below:
dwozniak@sevilla:~$ sudo perl -MCPAN -e 'install Math::GMP'
CPAN: Storable loaded ok
Going to read /home/dwozniak/.cpan/Metadata
Database was generated on Tue, 28 Mar 2006 10:45:02 GMT
Running install for module Math::GMP
Running make for C/CH/CHIPT/Math-GMP-2.04.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /home/dwozniak/.cpan/sources/authors/id/C/CH/CHIPT/Math-GMP-2.04.tar.gz ok
Scanning cache /home/dwozniak/.cpan/build for sizes
Deleting from cache: /home/dwozniak/.cpan/build/URI-1.35 (24.5>10.0 MB)
Deleting from cache: /home/dwozniak/.cpan/build/HTML-Tagset-3.10 (23.9>10.0 MB)
Deleting from cache: /home/dwozniak/.cpan/build/HTML-Parser-3.51 (23.8>10.0 MB)
Deleting from cache: /home/dwozniak/.cpan/build/libwww-perl-5.805 (23.2>10.0 MB)
Deleting from cache: /home/dwozniak/.cpan/build/Math-Pari-2.010704 (21.2>10.0 MB)
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 /home/dwozniak/.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
Note (probably harmless): No library found for -lgmp
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/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap -typemap typemap GMP.xs > GMP.xsc && mv GMP.xsc GMP.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I/usr/lib/perl/5.8/CORE" GMP.c
GMP.xs:4:17: error: gmp.h: No such file or directory
GMP.c: In function ‘XS_Math__GMP_new_from_scalar’:
GMP.c:91: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:91: error: (Each undeclared identifier is reported only once
GMP.c:91: error: for each function it appears in.)
GMP.c:91: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c: In function ‘XS_Math__GMP_new_from_scalar_with_base’:
GMP.c:111: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:111: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c: In function ‘XS_Math__GMP_destroy’:
GMP.c:129: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:129: error: ‘n’ undeclared (first use in this function)
GMP.c:133: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_stringify_gmp’:
GMP.c:152: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:152: error: ‘n’ undeclared (first use in this function)
GMP.c:161: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_get_str_gmp’:
GMP.c:188: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:188: error: ‘n’ undeclared (first use in this function)
GMP.c:198: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_sizeinbase_gmp’:
GMP.c:225: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:225: error: ‘n’ undeclared (first use in this function)
GMP.c:232: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_uintify_gmp’:
GMP.c:251: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:251: error: ‘n’ undeclared (first use in this function)
GMP.c:257: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_add_ui_gmp’:
GMP.c:276: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:276: error: ‘n’ undeclared (first use in this function)
GMP.c:281: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_intify_gmp’:
GMP.c:299: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:299: error: ‘n’ undeclared (first use in this function)
GMP.c:305: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_mul_2exp_gmp’:
GMP.c:324: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:324: error: ‘n’ undeclared (first use in this function)
GMP.c:326: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:330: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_div_2exp_gmp’:
GMP.c:352: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:352: error: ‘n’ undeclared (first use in this function)
GMP.c:354: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:358: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_powm_gmp’:
GMP.c:380: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:380: error: ‘n’ undeclared (first use in this function)
GMP.c:382: error: ‘mod’ undeclared (first use in this function)
GMP.c:383: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:387: error: syntax error before ‘)’ token
GMP.c:394: error: syntax error before ‘)’ token
GMP.c:401: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_mmod_gmp’:
GMP.c:423: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:423: error: ‘a’ undeclared (first use in this function)
GMP.c:424: error: ‘b’ undeclared (first use in this function)
GMP.c:425: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:429: error: syntax error before ‘)’ token
GMP.c:436: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_mod_2exp_gmp’:
GMP.c:458: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:458: error: ‘in’ undeclared (first use in this function)
GMP.c:460: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:464: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_add_two’:
GMP.c:486: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:486: error: ‘m’ undeclared (first use in this function)
GMP.c:487: error: ‘n’ undeclared (first use in this function)
GMP.c:488: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:492: error: syntax error before ‘)’ token
GMP.c:499: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_sub_two’:
GMP.c:521: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:521: error: ‘m’ undeclared (first use in this function)
GMP.c:522: error: ‘n’ undeclared (first use in this function)
GMP.c:523: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:527: error: syntax error before ‘)’ token
GMP.c:534: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_mul_two’:
GMP.c:556: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:556: error: ‘m’ undeclared (first use in this function)
GMP.c:557: error: ‘n’ undeclared (first use in this function)
GMP.c:558: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:562: error: syntax error before ‘)’ token
GMP.c:569: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_div_two’:
GMP.c:591: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:591: error: ‘m’ undeclared (first use in this function)
GMP.c:592: error: ‘n’ undeclared (first use in this function)
GMP.c:593: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:597: error: syntax error before ‘)’ token
GMP.c:604: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_bdiv_two’:
GMP.c:627: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:627: error: ‘m’ undeclared (first use in this function)
GMP.c:628: error: ‘n’ undeclared (first use in this function)
GMP.xs:293: error: ‘quo’ undeclared (first use in this function)
GMP.xs:294: error: ‘rem’ undeclared (first use in this function)
GMP.c:636: error: syntax error before ‘)’ token
GMP.c:643: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_mod_two’:
GMP.c:669: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:669: error: ‘m’ undeclared (first use in this function)
GMP.c:670: error: ‘n’ undeclared (first use in this function)
GMP.c:671: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:675: error: syntax error before ‘)’ token
GMP.c:682: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_cmp_two’:
GMP.c:704: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:704: error: ‘m’ undeclared (first use in this function)
GMP.c:705: error: ‘n’ undeclared (first use in this function)
GMP.c:711: error: syntax error before ‘)’ token
GMP.c:718: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_gmp_legendre’:
GMP.c:737: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:737: error: ‘m’ undeclared (first use in this function)
GMP.c:738: error: ‘n’ undeclared (first use in this function)
GMP.c:744: error: syntax error before ‘)’ token
GMP.c:751: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_gmp_jacobi’:
GMP.c:770: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:770: error: ‘m’ undeclared (first use in this function)
GMP.c:771: error: ‘n’ undeclared (first use in this function)
GMP.c:777: error: syntax error before ‘)’ token
GMP.c:784: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_pow_two’:
GMP.c:803: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:803: error: ‘m’ undeclared (first use in this function)
GMP.c:805: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:809: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_gcd_two’:
GMP.c:832: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:832: error: ‘m’ undeclared (first use in this function)
GMP.c:833: error: ‘n’ undeclared (first use in this function)
GMP.c:834: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:838: error: syntax error before ‘)’ token
GMP.c:845: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_gmp_fib’:
GMP.c:868: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:868: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c: In function ‘XS_Math__GMP_and_two’:
GMP.c:887: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:887: error: ‘m’ undeclared (first use in this function)
GMP.c:888: error: ‘n’ undeclared (first use in this function)
GMP.c:889: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:893: error: syntax error before ‘)’ token
GMP.c:900: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_xor_two’:
GMP.c:922: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:922: error: ‘m’ undeclared (first use in this function)
GMP.c:923: error: ‘n’ undeclared (first use in this function)
GMP.c:924: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:928: error: syntax error before ‘)’ token
GMP.c:935: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_or_two’:
GMP.c:957: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:957: error: ‘m’ undeclared (first use in this function)
GMP.c:958: error: ‘n’ undeclared (first use in this function)
GMP.c:959: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:963: error: syntax error before ‘)’ token
GMP.c:970: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_gmp_fac’:
GMP.c:993: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:993: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c: In function ‘XS_Math__GMP_gmp_copy’:
GMP.c:1012: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:1012: error: ‘m’ undeclared (first use in this function)
GMP.c:1013: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:1017: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_gmp_tstbit’:
GMP.c:1038: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:1038: error: ‘m’ undeclared (first use in this function)
GMP.c:1045: error: syntax error before ‘)’ token
GMP.c: In function ‘XS_Math__GMP_gmp_sqrt’:
GMP.c:1064: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:1064: error: ‘m’ undeclared (first use in this function)
GMP.c:1065: error: ‘RETVAL’ undeclared (first use in this function)
GMP.c:1069: error: syntax error before ‘)’ token
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
I'm stumped, any ideas? Thanks.
--Dan W.](*,)