Avatar of ssdd2009
ssdd2009
 asked on

CentOS Linux Perl Module install problem

Hi Guys,

I need to install the perl module to run ZipTie but having following error,

[alterpoint@localhost networkauthority-inventory]$ sudo /usr/bin/perl -MCPAN -e 'install "Math::BigInt::GMP"'
CPAN: Storable loaded ok
Going to read /home/alterpoint/.cpan/Metadata
  Database was generated on Fri, 13 Mar 2009 11:26:54 GMT
Running install for module Math::BigInt::GMP
Running make for T/TE/TELS/math/Math-BigInt-GMP-1.24.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /home/alterpoint/.cpan/sources/authors/id/T/TE/TELS/math/Math-BigInt-GMP-1.24.tar.gz ok
Scanning cache /home/alterpoint/.cpan/build for sizes
Deleting from cache: /home/alterpoint/.cpan/build/XML-Parser-2.36 (10.4>10.0 MB)
Math-BigInt-GMP-1.24/
Math-BigInt-GMP-1.24/t/
Math-BigInt-GMP-1.24/t/bigintg.t
Math-BigInt-GMP-1.24/t/bigintpm.t
Math-BigInt-GMP-1.24/t/pod.t
Math-BigInt-GMP-1.24/t/pod_cov.t
Math-BigInt-GMP-1.24/t/bigroot.t
Math-BigInt-GMP-1.24/t/bigintpm.inc
Math-BigInt-GMP-1.24/t/bigfltpm.t
Math-BigInt-GMP-1.24/t/bigfltpm.inc
Math-BigInt-GMP-1.24/t/biglog.t
Math-BigInt-GMP-1.24/lib/
Math-BigInt-GMP-1.24/lib/Math/
Math-BigInt-GMP-1.24/lib/Math/BigInt/
Math-BigInt-GMP-1.24/lib/Math/BigInt/GMP.pm
Math-BigInt-GMP-1.24/BUGS
Math-BigInt-GMP-1.24/TODO
Math-BigInt-GMP-1.24/GMP.xs
Math-BigInt-GMP-1.24/SIGNATURE
Math-BigInt-GMP-1.24/LICENSE
Math-BigInt-GMP-1.24/build/
Math-BigInt-GMP-1.24/build/README
Math-BigInt-GMP-1.24/build/leak.pl
Math-BigInt-GMP-1.24/build/leaktest
Math-BigInt-GMP-1.24/README
Math-BigInt-GMP-1.24/MANIFEST.SKIP
Math-BigInt-GMP-1.24/Makefile.PL
Math-BigInt-GMP-1.24/META.yml
Math-BigInt-GMP-1.24/typemap
Math-BigInt-GMP-1.24/INSTALL
Math-BigInt-GMP-1.24/CHANGES
Math-BigInt-GMP-1.24/CREDITS
Math-BigInt-GMP-1.24/MANIFEST
Removing previously used /home/alterpoint/.cpan/build/Math-BigInt-GMP-1.24

  CPAN.pm: Going to build T/TE/TELS/math/Math-BigInt-GMP-1.24.tar.gz

Checking if your kit is complete...
Looks good
YAML not installed, make dist will not override metafile at Makefile.PL line 20.
Writing Makefile for Math::BigInt::GMP
cp lib/Math/BigInt/GMP.pm blib/lib/Math/BigInt/GMP.pm
/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
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables   -DVERSION=\"1.24\" -DXS_VERSION=\"1.24\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE"   GMP.c
GMP.xs:4:17: error: gmp.h: No such file or directory
GMP.c: In function âXS_Math__BigInt__GMP__newâ:
GMP.c:46: error: âmpz_tâ undeclared (first use in this function)
GMP.c:46: error: (Each undeclared identifier is reported only once
GMP.c:46: error: for each function it appears in.)
GMP.c:46: error: âRETVALâ undeclared (first use in this function)
GMP.xs:43: warning: implicit declaration of function âmpz_init_set_siâ
GMP.xs:47: warning: implicit declaration of function âmpz_init_set_strâ
GMP.c: In function âXS_Math__BigInt__GMP__from_binâ:
GMP.c:74: error: âmpz_tâ undeclared (first use in this function)
GMP.c:74: error: âRETVALâ undeclared (first use in this function)
GMP.c: In function âXS_Math__BigInt__GMP__from_hexâ:
GMP.c:94: error: âmpz_tâ undeclared (first use in this function)
GMP.c:94: error: âRETVALâ undeclared (first use in this function)
GMP.c: In function âXS_Math__BigInt__GMP__from_octâ:
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__BigInt__GMP__setâ:
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:134: warning: ISO C90 forbids mixed declarations and code
GMP.c:138: error: expected expression before â)â token
GMP.xs:100: warning: implicit declaration of function âmpz_init_set_uiâ
GMP.c: In function âXS_Math__BigInt__GMP__zeroâ:
GMP.c:157: error: âmpz_tâ undeclared (first use in this function)
GMP.c:157: error: âRETVALâ undeclared (first use in this function)
GMP.c: In function âXS_Math__BigInt__GMP__oneâ:
GMP.c:176: error: âmpz_tâ undeclared (first use in this function)
GMP.c:176: error: âRETVALâ undeclared (first use in this function)
GMP.c: In function âXS_Math__BigInt__GMP__twoâ:
GMP.c:195: error: âmpz_tâ undeclared (first use in this function)
GMP.c:195: error: âRETVALâ undeclared (first use in this function)
GMP.c: In function âXS_Math__BigInt__GMP__tenâ:
GMP.c:214: error: âmpz_tâ undeclared (first use in this function)
GMP.c:214: error: âRETVALâ undeclared (first use in this function)
GMP.c: In function âXS_Math__BigInt__GMP__1exâ:
GMP.c:234: error: âmpz_tâ undeclared (first use in this function)
GMP.c:234: error: âRETVALâ undeclared (first use in this function)
GMP.xs:160: warning: implicit declaration of function âmpz_pow_uiâ
GMP.c: In function âXS_Math__BigInt__GMP_DESTROYâ:
GMP.c:255: error: âmpz_tâ undeclared (first use in this function)
GMP.c:255: error: ânâ undeclared (first use in this function)
GMP.c:259: error: expected expression before â)â token
GMP.xs:172: warning: implicit declaration of function âmpz_clearâ
GMP.c: In function âXS_Math__BigInt__GMP__numâ:
GMP.c:280: error: âmpz_tâ undeclared (first use in this function)
GMP.c:280: error: ânâ undeclared (first use in this function)
GMP.xs:182: warning: ISO C90 forbids mixed declarations and code
GMP.c:291: error: expected expression before â)â token
GMP.xs:188: warning: implicit declaration of function âmpz_sizeinbaseâ
GMP.xs:193: warning: implicit declaration of function âmpz_get_strâ
GMP.c: In function âXS_Math__BigInt__GMP__lenâ:
GMP.c:323: error: âmpz_tâ undeclared (first use in this function)
GMP.c:323: error: ânâ undeclared (first use in this function)
GMP.xs:209: warning: ISO C90 forbids mixed declarations and code
GMP.c:334: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__alenâ:
GMP.c:366: error: âmpz_tâ undeclared (first use in this function)
GMP.c:366: error: ânâ undeclared (first use in this function)
GMP.c:367: warning: ISO C90 forbids mixed declarations and code
GMP.c:372: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__zerosâ:
GMP.c:393: error: âmpz_tâ undeclared (first use in this function)
GMP.c:393: error: ânâ undeclared (first use in this function)
GMP.xs:254: warning: ISO C90 forbids mixed declarations and code
GMP.c:405: error: expected expression before â)â token
GMP.xs:260: warning: implicit declaration of function âmpz_tstbitâ
GMP.c: In function âXS_Math__BigInt__GMP__as_hexâ:
GMP.c:453: error: âmpz_tâ undeclared (first use in this function)
GMP.c:453: error: ânâ undeclared (first use in this function)
GMP.xs:299: warning: ISO C90 forbids mixed declarations and code
GMP.c:463: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__as_binâ:
GMP.c:491: error: âmpz_tâ undeclared (first use in this function)
GMP.c:491: error: ânâ undeclared (first use in this function)
GMP.xs:322: warning: ISO C90 forbids mixed declarations and code
GMP.c:501: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__as_octâ:
GMP.c:529: error: âmpz_tâ undeclared (first use in this function)
GMP.c:529: error: ânâ undeclared (first use in this function)
GMP.xs:345: warning: ISO C90 forbids mixed declarations and code
GMP.c:539: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__modpowâ:
GMP.c:567: error: âmpz_tâ undeclared (first use in this function)
GMP.c:567: error: ânâ undeclared (first use in this function)
GMP.c:569: error: âmodâ undeclared (first use in this function)
GMP.c:570: error: âRETVALâ undeclared (first use in this function)
GMP.c:574: error: expected expression before â)â token
GMP.c:581: error: expected expression before â)â token
GMP.c:588: error: expected expression before â)â token
GMP.xs:370: warning: implicit declaration of function âmpz_initâ
GMP.xs:371: warning: implicit declaration of function âmpz_powmâ
GMP.c: In function âXS_Math__BigInt__GMP__modinvâ:
GMP.c:611: error: âmpz_tâ undeclared (first use in this function)
GMP.c:611: error: âxâ undeclared (first use in this function)
GMP.c:612: error: âyâ undeclared (first use in this function)
GMP.xs:390: warning: ISO C90 forbids mixed declarations and code
GMP.xs:392: error: âRETVALâ undeclared (first use in this function)
GMP.c:621: error: expected expression before â)â token
GMP.c:628: error: expected expression before â)â token
GMP.xs:395: warning: implicit declaration of function âmpz_invertâ
GMP.xs:406: warning: implicit declaration of function âmpz_sgnâ
GMP.xs:408: warning: implicit declaration of function âmpz_absâ
GMP.xs: In function âXS_Math__BigInt__GMP__addâ:
GMP.xs:430: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:430: error: âTEMPâ undeclared (first use in this function)
GMP.xs:431: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:433: error: expected expression before â)â token
GMP.xs:433: error: expected expression before â)â token
GMP.xs:434: warning: implicit declaration of function âmpz_addâ
GMP.xs: In function âXS_Math__BigInt__GMP__incâ:
GMP.xs:445: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:445: error: âTEMPâ undeclared (first use in this function)
GMP.xs:447: error: expected expression before â)â token
GMP.xs:448: warning: implicit declaration of function âmpz_add_uiâ
GMP.xs: In function âXS_Math__BigInt__GMP__decâ:
GMP.xs:458: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:458: error: âTEMPâ undeclared (first use in this function)
GMP.xs:460: error: expected expression before â)â token
GMP.xs:461: warning: implicit declaration of function âmpz_sub_uiâ
GMP.xs: In function âXS_Math__BigInt__GMP__subâ:
GMP.xs:480: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:480: error: âTEMPâ undeclared (first use in this function)
GMP.xs:481: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:483: error: expected expression before â)â token
GMP.xs:483: error: expected expression before â)â token
GMP.xs:487: warning: implicit declaration of function âmpz_subâ
GMP.xs: In function âXS_Math__BigInt__GMP__rsftâ:
GMP.xs:507: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:507: error: âTEMPâ undeclared (first use in this function)
GMP.xs:508: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:509: error: âBASEâ undeclared (first use in this function)
GMP.xs:512: error: expected expression before â)â token
GMP.xs:512: error: expected expression before â)â token
GMP.xs:514: warning: implicit declaration of function âmpz_get_uiâ
GMP.xs:519: warning: implicit declaration of function âmpz_divâ
GMP.xs: In function âXS_Math__BigInt__GMP__lsftâ:
GMP.xs:534: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:534: error: âTEMPâ undeclared (first use in this function)
GMP.xs:535: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:536: error: âBASEâ undeclared (first use in this function)
GMP.xs:539: error: expected expression before â)â token
GMP.xs:539: error: expected expression before â)â token
GMP.xs:546: warning: implicit declaration of function âmpz_mulâ
GMP.xs: In function âXS_Math__BigInt__GMP__mulâ:
GMP.xs:559: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:559: error: âTEMPâ undeclared (first use in this function)
GMP.xs:560: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:562: error: expected expression before â)â token
GMP.xs:562: error: expected expression before â)â token
GMP.xs: In function âXS_Math__BigInt__GMP__divâ:
GMP.xs:587: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:587: error: âTEMPâ undeclared (first use in this function)
GMP.xs:588: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:589: error: âremâ undeclared (first use in this function)
GMP.xs:591: error: expected expression before â)â token
GMP.xs:591: error: expected expression before â)â token
GMP.xs:597: warning: implicit declaration of function âmpz_tdiv_qrâ
GMP.xs: In function âXS_Math__BigInt__GMP__modâ:
GMP.xs:617: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:617: error: âTEMPâ undeclared (first use in this function)
GMP.xs:618: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:620: error: expected expression before â)â token
GMP.xs:620: error: expected expression before â)â token
GMP.xs:621: warning: implicit declaration of function âmpz_modâ
GMP.c: In function âXS_Math__BigInt__GMP__acmpâ:
GMP.c:944: error: âmpz_tâ undeclared (first use in this function)
GMP.c:944: error: âmâ undeclared (first use in this function)
GMP.c:945: error: ânâ undeclared (first use in this function)
GMP.c:946: warning: ISO C90 forbids mixed declarations and code
GMP.c:951: error: expected expression before â)â token
GMP.c:958: error: expected expression before â)â token
GMP.xs:633: warning: implicit declaration of function âmpz_cmpâ
GMP.c: In function âXS_Math__BigInt__GMP__is_zeroâ:
GMP.c:980: error: âmpz_tâ undeclared (first use in this function)
GMP.c:980: error: âxâ undeclared (first use in this function)
GMP.c:981: warning: ISO C90 forbids mixed declarations and code
GMP.c:986: error: expected expression before â)â token
GMP.xs:647: warning: implicit declaration of function âmpz_cmp_uiâ
GMP.c: In function âXS_Math__BigInt__GMP__is_oneâ:
GMP.c:1007: error: âmpz_tâ undeclared (first use in this function)
GMP.c:1007: error: âxâ undeclared (first use in this function)
GMP.c:1008: warning: ISO C90 forbids mixed declarations and code
GMP.c:1013: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__is_twoâ:
GMP.c:1034: error: âmpz_tâ undeclared (first use in this function)
GMP.c:1034: error: âxâ undeclared (first use in this function)
GMP.c:1035: warning: ISO C90 forbids mixed declarations and code
GMP.c:1040: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__is_tenâ:
GMP.c:1061: error: âmpz_tâ undeclared (first use in this function)
GMP.c:1061: error: âxâ undeclared (first use in this function)
GMP.c:1062: warning: ISO C90 forbids mixed declarations and code
GMP.c:1067: error: expected expression before â)â token
GMP.xs: In function âXS_Math__BigInt__GMP__powâ:
GMP.xs:699: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:699: error: âTEMPâ undeclared (first use in this function)
GMP.xs:700: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:702: error: expected expression before â)â token
GMP.xs:702: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__gcdâ:
GMP.c:1113: error: âmpz_tâ undeclared (first use in this function)
GMP.c:1113: error: âxâ undeclared (first use in this function)
GMP.c:1114: error: âyâ undeclared (first use in this function)
GMP.c:1115: error: âRETVALâ undeclared (first use in this function)
GMP.c:1119: error: expected expression before â)â token
GMP.c:1126: error: expected expression before â)â token
GMP.xs:716: warning: implicit declaration of function âmpz_gcdâ
GMP.xs: In function âXS_Math__BigInt__GMP__andâ:
GMP.xs:728: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:728: error: âTEMPâ undeclared (first use in this function)
GMP.xs:729: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:731: error: expected expression before â)â token
GMP.xs:731: error: expected expression before â)â token
GMP.xs:732: warning: implicit declaration of function âmpz_andâ
GMP.xs: In function âXS_Math__BigInt__GMP__xorâ:
GMP.xs:744: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:744: error: âTEMPâ undeclared (first use in this function)
GMP.xs:745: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:747: error: expected expression before â)â token
GMP.xs:747: error: expected expression before â)â token
GMP.xs:748: warning: implicit declaration of function âmpz_xorâ
GMP.xs: In function âXS_Math__BigInt__GMP__orâ:
GMP.xs:760: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:760: error: âTEMPâ undeclared (first use in this function)
GMP.xs:761: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:763: error: expected expression before â)â token
GMP.xs:763: error: expected expression before â)â token
GMP.xs:764: warning: implicit declaration of function âmpz_iorâ
GMP.xs: In function âXS_Math__BigInt__GMP__facâ:
GMP.xs:775: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:775: error: âTEMPâ undeclared (first use in this function)
GMP.xs:777: error: expected expression before â)â token
GMP.xs:778: warning: implicit declaration of function âmpz_fac_uiâ
GMP.c: In function âXS_Math__BigInt__GMP__copyâ:
GMP.c:1246: error: âmpz_tâ undeclared (first use in this function)
GMP.c:1246: error: âmâ undeclared (first use in this function)
GMP.c:1247: error: âRETVALâ undeclared (first use in this function)
GMP.c:1251: error: expected expression before â)â token
GMP.xs:791: warning: implicit declaration of function âmpz_init_setâ
GMP.c: In function âXS_Math__BigInt__GMP__is_oddâ:
GMP.c:1273: error: âmpz_tâ undeclared (first use in this function)
GMP.c:1273: error: ânâ undeclared (first use in this function)
GMP.c:1274: warning: ISO C90 forbids mixed declarations and code
GMP.c:1279: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__is_evenâ:
GMP.c:1299: error: âmpz_tâ undeclared (first use in this function)
GMP.c:1299: error: ânâ undeclared (first use in this function)
GMP.c:1300: warning: ISO C90 forbids mixed declarations and code
GMP.c:1305: error: expected expression before â)â token
GMP.xs: In function âXS_Math__BigInt__GMP__sqrtâ:
GMP.xs:827: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:827: error: âTEMPâ undeclared (first use in this function)
GMP.xs:829: error: expected expression before â)â token
GMP.xs:830: warning: implicit declaration of function âmpz_sqrtâ
GMP.xs: In function âXS_Math__BigInt__GMP__rootâ:
GMP.xs:842: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:842: error: âTEMPâ undeclared (first use in this function)
GMP.xs:843: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:845: error: expected expression before â)â token
GMP.xs:845: error: expected expression before â)â token
GMP.xs:846: warning: implicit declaration of function âmpz_rootâ
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

[alterpoint@localhost networkauthority-inventory]$ sudo /usr/bin/perl -MCPAN -e 'install "Math::BigInt::GMP"'
CPAN: Storable loaded ok
Going to read /home/alterpoint/.cpan/Metadata
  Database was generated on Fri, 13 Mar 2009 11:26:54 GMT
Running install for module Math::BigInt::GMP
Running make for T/TE/TELS/math/Math-BigInt-GMP-1.24.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /home/alterpoint/.cpan/sources/authors/id/T/TE/TELS/math/Math-BigInt-GMP-1.24.tar.gz ok
Scanning cache /home/alterpoint/.cpan/build for sizes
Deleting from cache: /home/alterpoint/.cpan/build/XML-Parser-2.36 (10.4>10.0 MB)
Math-BigInt-GMP-1.24/
Math-BigInt-GMP-1.24/t/
Math-BigInt-GMP-1.24/t/bigintg.t
Math-BigInt-GMP-1.24/t/bigintpm.t
Math-BigInt-GMP-1.24/t/pod.t
Math-BigInt-GMP-1.24/t/pod_cov.t
Math-BigInt-GMP-1.24/t/bigroot.t
Math-BigInt-GMP-1.24/t/bigintpm.inc
Math-BigInt-GMP-1.24/t/bigfltpm.t
Math-BigInt-GMP-1.24/t/bigfltpm.inc
Math-BigInt-GMP-1.24/t/biglog.t
Math-BigInt-GMP-1.24/lib/
Math-BigInt-GMP-1.24/lib/Math/
Math-BigInt-GMP-1.24/lib/Math/BigInt/
Math-BigInt-GMP-1.24/lib/Math/BigInt/GMP.pm
Math-BigInt-GMP-1.24/BUGS
Math-BigInt-GMP-1.24/TODO
Math-BigInt-GMP-1.24/GMP.xs
Math-BigInt-GMP-1.24/SIGNATURE
Math-BigInt-GMP-1.24/LICENSE
Math-BigInt-GMP-1.24/build/
Math-BigInt-GMP-1.24/build/README
Math-BigInt-GMP-1.24/build/leak.pl
Math-BigInt-GMP-1.24/build/leaktest
Math-BigInt-GMP-1.24/README
Math-BigInt-GMP-1.24/MANIFEST.SKIP
Math-BigInt-GMP-1.24/Makefile.PL
Math-BigInt-GMP-1.24/META.yml
Math-BigInt-GMP-1.24/typemap
Math-BigInt-GMP-1.24/INSTALL
Math-BigInt-GMP-1.24/CHANGES
Math-BigInt-GMP-1.24/CREDITS
Math-BigInt-GMP-1.24/MANIFEST
Removing previously used /home/alterpoint/.cpan/build/Math-BigInt-GMP-1.24
 
  CPAN.pm: Going to build T/TE/TELS/math/Math-BigInt-GMP-1.24.tar.gz
 
Checking if your kit is complete...
Looks good
YAML not installed, make dist will not override metafile at Makefile.PL line 20.
Writing Makefile for Math::BigInt::GMP
cp lib/Math/BigInt/GMP.pm blib/lib/Math/BigInt/GMP.pm
/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
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables   -DVERSION=\"1.24\" -DXS_VERSION=\"1.24\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE"   GMP.c
GMP.xs:4:17: error: gmp.h: No such file or directory
GMP.c: In function âXS_Math__BigInt__GMP__newâ:
GMP.c:46: error: âmpz_tâ undeclared (first use in this function)
GMP.c:46: error: (Each undeclared identifier is reported only once
GMP.c:46: error: for each function it appears in.)
GMP.c:46: error: âRETVALâ undeclared (first use in this function)
GMP.xs:43: warning: implicit declaration of function âmpz_init_set_siâ
GMP.xs:47: warning: implicit declaration of function âmpz_init_set_strâ
GMP.c: In function âXS_Math__BigInt__GMP__from_binâ:
GMP.c:74: error: âmpz_tâ undeclared (first use in this function)
GMP.c:74: error: âRETVALâ undeclared (first use in this function)
GMP.c: In function âXS_Math__BigInt__GMP__from_hexâ:
GMP.c:94: error: âmpz_tâ undeclared (first use in this function)
GMP.c:94: error: âRETVALâ undeclared (first use in this function)
GMP.c: In function âXS_Math__BigInt__GMP__from_octâ:
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__BigInt__GMP__setâ:
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:134: warning: ISO C90 forbids mixed declarations and code
GMP.c:138: error: expected expression before â)â token
GMP.xs:100: warning: implicit declaration of function âmpz_init_set_uiâ
GMP.c: In function âXS_Math__BigInt__GMP__zeroâ:
GMP.c:157: error: âmpz_tâ undeclared (first use in this function)
GMP.c:157: error: âRETVALâ undeclared (first use in this function)
GMP.c: In function âXS_Math__BigInt__GMP__oneâ:
GMP.c:176: error: âmpz_tâ undeclared (first use in this function)
GMP.c:176: error: âRETVALâ undeclared (first use in this function)
GMP.c: In function âXS_Math__BigInt__GMP__twoâ:
GMP.c:195: error: âmpz_tâ undeclared (first use in this function)
GMP.c:195: error: âRETVALâ undeclared (first use in this function)
GMP.c: In function âXS_Math__BigInt__GMP__tenâ:
GMP.c:214: error: âmpz_tâ undeclared (first use in this function)
GMP.c:214: error: âRETVALâ undeclared (first use in this function)
GMP.c: In function âXS_Math__BigInt__GMP__1exâ:
GMP.c:234: error: âmpz_tâ undeclared (first use in this function)
GMP.c:234: error: âRETVALâ undeclared (first use in this function)
GMP.xs:160: warning: implicit declaration of function âmpz_pow_uiâ
GMP.c: In function âXS_Math__BigInt__GMP_DESTROYâ:
GMP.c:255: error: âmpz_tâ undeclared (first use in this function)
GMP.c:255: error: ânâ undeclared (first use in this function)
GMP.c:259: error: expected expression before â)â token
GMP.xs:172: warning: implicit declaration of function âmpz_clearâ
GMP.c: In function âXS_Math__BigInt__GMP__numâ:
GMP.c:280: error: âmpz_tâ undeclared (first use in this function)
GMP.c:280: error: ânâ undeclared (first use in this function)
GMP.xs:182: warning: ISO C90 forbids mixed declarations and code
GMP.c:291: error: expected expression before â)â token
GMP.xs:188: warning: implicit declaration of function âmpz_sizeinbaseâ
GMP.xs:193: warning: implicit declaration of function âmpz_get_strâ
GMP.c: In function âXS_Math__BigInt__GMP__lenâ:
GMP.c:323: error: âmpz_tâ undeclared (first use in this function)
GMP.c:323: error: ânâ undeclared (first use in this function)
GMP.xs:209: warning: ISO C90 forbids mixed declarations and code
GMP.c:334: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__alenâ:
GMP.c:366: error: âmpz_tâ undeclared (first use in this function)
GMP.c:366: error: ânâ undeclared (first use in this function)
GMP.c:367: warning: ISO C90 forbids mixed declarations and code
GMP.c:372: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__zerosâ:
GMP.c:393: error: âmpz_tâ undeclared (first use in this function)
GMP.c:393: error: ânâ undeclared (first use in this function)
GMP.xs:254: warning: ISO C90 forbids mixed declarations and code
GMP.c:405: error: expected expression before â)â token
GMP.xs:260: warning: implicit declaration of function âmpz_tstbitâ
GMP.c: In function âXS_Math__BigInt__GMP__as_hexâ:
GMP.c:453: error: âmpz_tâ undeclared (first use in this function)
GMP.c:453: error: ânâ undeclared (first use in this function)
GMP.xs:299: warning: ISO C90 forbids mixed declarations and code
GMP.c:463: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__as_binâ:
GMP.c:491: error: âmpz_tâ undeclared (first use in this function)
GMP.c:491: error: ânâ undeclared (first use in this function)
GMP.xs:322: warning: ISO C90 forbids mixed declarations and code
GMP.c:501: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__as_octâ:
GMP.c:529: error: âmpz_tâ undeclared (first use in this function)
GMP.c:529: error: ânâ undeclared (first use in this function)
GMP.xs:345: warning: ISO C90 forbids mixed declarations and code
GMP.c:539: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__modpowâ:
GMP.c:567: error: âmpz_tâ undeclared (first use in this function)
GMP.c:567: error: ânâ undeclared (first use in this function)
GMP.c:569: error: âmodâ undeclared (first use in this function)
GMP.c:570: error: âRETVALâ undeclared (first use in this function)
GMP.c:574: error: expected expression before â)â token
GMP.c:581: error: expected expression before â)â token
GMP.c:588: error: expected expression before â)â token
GMP.xs:370: warning: implicit declaration of function âmpz_initâ
GMP.xs:371: warning: implicit declaration of function âmpz_powmâ
GMP.c: In function âXS_Math__BigInt__GMP__modinvâ:
GMP.c:611: error: âmpz_tâ undeclared (first use in this function)
GMP.c:611: error: âxâ undeclared (first use in this function)
GMP.c:612: error: âyâ undeclared (first use in this function)
GMP.xs:390: warning: ISO C90 forbids mixed declarations and code
GMP.xs:392: error: âRETVALâ undeclared (first use in this function)
GMP.c:621: error: expected expression before â)â token
GMP.c:628: error: expected expression before â)â token
GMP.xs:395: warning: implicit declaration of function âmpz_invertâ
GMP.xs:406: warning: implicit declaration of function âmpz_sgnâ
GMP.xs:408: warning: implicit declaration of function âmpz_absâ
GMP.xs: In function âXS_Math__BigInt__GMP__addâ:
GMP.xs:430: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:430: error: âTEMPâ undeclared (first use in this function)
GMP.xs:431: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:433: error: expected expression before â)â token
GMP.xs:433: error: expected expression before â)â token
GMP.xs:434: warning: implicit declaration of function âmpz_addâ
GMP.xs: In function âXS_Math__BigInt__GMP__incâ:
GMP.xs:445: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:445: error: âTEMPâ undeclared (first use in this function)
GMP.xs:447: error: expected expression before â)â token
GMP.xs:448: warning: implicit declaration of function âmpz_add_uiâ
GMP.xs: In function âXS_Math__BigInt__GMP__decâ:
GMP.xs:458: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:458: error: âTEMPâ undeclared (first use in this function)
GMP.xs:460: error: expected expression before â)â token
GMP.xs:461: warning: implicit declaration of function âmpz_sub_uiâ
GMP.xs: In function âXS_Math__BigInt__GMP__subâ:
GMP.xs:480: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:480: error: âTEMPâ undeclared (first use in this function)
GMP.xs:481: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:483: error: expected expression before â)â token
GMP.xs:483: error: expected expression before â)â token
GMP.xs:487: warning: implicit declaration of function âmpz_subâ
GMP.xs: In function âXS_Math__BigInt__GMP__rsftâ:
GMP.xs:507: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:507: error: âTEMPâ undeclared (first use in this function)
GMP.xs:508: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:509: error: âBASEâ undeclared (first use in this function)
GMP.xs:512: error: expected expression before â)â token
GMP.xs:512: error: expected expression before â)â token
GMP.xs:514: warning: implicit declaration of function âmpz_get_uiâ
GMP.xs:519: warning: implicit declaration of function âmpz_divâ
GMP.xs: In function âXS_Math__BigInt__GMP__lsftâ:
GMP.xs:534: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:534: error: âTEMPâ undeclared (first use in this function)
GMP.xs:535: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:536: error: âBASEâ undeclared (first use in this function)
GMP.xs:539: error: expected expression before â)â token
GMP.xs:539: error: expected expression before â)â token
GMP.xs:546: warning: implicit declaration of function âmpz_mulâ
GMP.xs: In function âXS_Math__BigInt__GMP__mulâ:
GMP.xs:559: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:559: error: âTEMPâ undeclared (first use in this function)
GMP.xs:560: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:562: error: expected expression before â)â token
GMP.xs:562: error: expected expression before â)â token
GMP.xs: In function âXS_Math__BigInt__GMP__divâ:
GMP.xs:587: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:587: error: âTEMPâ undeclared (first use in this function)
GMP.xs:588: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:589: error: âremâ undeclared (first use in this function)
GMP.xs:591: error: expected expression before â)â token
GMP.xs:591: error: expected expression before â)â token
GMP.xs:597: warning: implicit declaration of function âmpz_tdiv_qrâ
GMP.xs: In function âXS_Math__BigInt__GMP__modâ:
GMP.xs:617: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:617: error: âTEMPâ undeclared (first use in this function)
GMP.xs:618: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:620: error: expected expression before â)â token
GMP.xs:620: error: expected expression before â)â token
GMP.xs:621: warning: implicit declaration of function âmpz_modâ
GMP.c: In function âXS_Math__BigInt__GMP__acmpâ:
GMP.c:944: error: âmpz_tâ undeclared (first use in this function)
GMP.c:944: error: âmâ undeclared (first use in this function)
GMP.c:945: error: ânâ undeclared (first use in this function)
GMP.c:946: warning: ISO C90 forbids mixed declarations and code
GMP.c:951: error: expected expression before â)â token
GMP.c:958: error: expected expression before â)â token
GMP.xs:633: warning: implicit declaration of function âmpz_cmpâ
GMP.c: In function âXS_Math__BigInt__GMP__is_zeroâ:
GMP.c:980: error: âmpz_tâ undeclared (first use in this function)
GMP.c:980: error: âxâ undeclared (first use in this function)
GMP.c:981: warning: ISO C90 forbids mixed declarations and code
GMP.c:986: error: expected expression before â)â token
GMP.xs:647: warning: implicit declaration of function âmpz_cmp_uiâ
GMP.c: In function âXS_Math__BigInt__GMP__is_oneâ:
GMP.c:1007: error: âmpz_tâ undeclared (first use in this function)
GMP.c:1007: error: âxâ undeclared (first use in this function)
GMP.c:1008: warning: ISO C90 forbids mixed declarations and code
GMP.c:1013: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__is_twoâ:
GMP.c:1034: error: âmpz_tâ undeclared (first use in this function)
GMP.c:1034: error: âxâ undeclared (first use in this function)
GMP.c:1035: warning: ISO C90 forbids mixed declarations and code
GMP.c:1040: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__is_tenâ:
GMP.c:1061: error: âmpz_tâ undeclared (first use in this function)
GMP.c:1061: error: âxâ undeclared (first use in this function)
GMP.c:1062: warning: ISO C90 forbids mixed declarations and code
GMP.c:1067: error: expected expression before â)â token
GMP.xs: In function âXS_Math__BigInt__GMP__powâ:
GMP.xs:699: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:699: error: âTEMPâ undeclared (first use in this function)
GMP.xs:700: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:702: error: expected expression before â)â token
GMP.xs:702: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__gcdâ:
GMP.c:1113: error: âmpz_tâ undeclared (first use in this function)
GMP.c:1113: error: âxâ undeclared (first use in this function)
GMP.c:1114: error: âyâ undeclared (first use in this function)
GMP.c:1115: error: âRETVALâ undeclared (first use in this function)
GMP.c:1119: error: expected expression before â)â token
GMP.c:1126: error: expected expression before â)â token
GMP.xs:716: warning: implicit declaration of function âmpz_gcdâ
GMP.xs: In function âXS_Math__BigInt__GMP__andâ:
GMP.xs:728: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:728: error: âTEMPâ undeclared (first use in this function)
GMP.xs:729: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:731: error: expected expression before â)â token
GMP.xs:731: error: expected expression before â)â token
GMP.xs:732: warning: implicit declaration of function âmpz_andâ
GMP.xs: In function âXS_Math__BigInt__GMP__xorâ:
GMP.xs:744: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:744: error: âTEMPâ undeclared (first use in this function)
GMP.xs:745: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:747: error: expected expression before â)â token
GMP.xs:747: error: expected expression before â)â token
GMP.xs:748: warning: implicit declaration of function âmpz_xorâ
GMP.xs: In function âXS_Math__BigInt__GMP__orâ:
GMP.xs:760: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:760: error: âTEMPâ undeclared (first use in this function)
GMP.xs:761: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:763: error: expected expression before â)â token
GMP.xs:763: error: expected expression before â)â token
GMP.xs:764: warning: implicit declaration of function âmpz_iorâ
GMP.xs: In function âXS_Math__BigInt__GMP__facâ:
GMP.xs:775: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:775: error: âTEMPâ undeclared (first use in this function)
GMP.xs:777: error: expected expression before â)â token
GMP.xs:778: warning: implicit declaration of function âmpz_fac_uiâ
GMP.c: In function âXS_Math__BigInt__GMP__copyâ:
GMP.c:1246: error: âmpz_tâ undeclared (first use in this function)
GMP.c:1246: error: âmâ undeclared (first use in this function)
GMP.c:1247: error: âRETVALâ undeclared (first use in this function)
GMP.c:1251: error: expected expression before â)â token
GMP.xs:791: warning: implicit declaration of function âmpz_init_setâ
GMP.c: In function âXS_Math__BigInt__GMP__is_oddâ:
GMP.c:1273: error: âmpz_tâ undeclared (first use in this function)
GMP.c:1273: error: ânâ undeclared (first use in this function)
GMP.c:1274: warning: ISO C90 forbids mixed declarations and code
GMP.c:1279: error: expected expression before â)â token
GMP.c: In function âXS_Math__BigInt__GMP__is_evenâ:
GMP.c:1299: error: âmpz_tâ undeclared (first use in this function)
GMP.c:1299: error: ânâ undeclared (first use in this function)
GMP.c:1300: warning: ISO C90 forbids mixed declarations and code
GMP.c:1305: error: expected expression before â)â token
GMP.xs: In function âXS_Math__BigInt__GMP__sqrtâ:
GMP.xs:827: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:827: error: âTEMPâ undeclared (first use in this function)
GMP.xs:829: error: expected expression before â)â token
GMP.xs:830: warning: implicit declaration of function âmpz_sqrtâ
GMP.xs: In function âXS_Math__BigInt__GMP__rootâ:
GMP.xs:842: error: âmpz_tâ undeclared (first use in this function)
GMP.xs:842: error: âTEMPâ undeclared (first use in this function)
GMP.xs:843: error: âTEMP_1â undeclared (first use in this function)
GMP.xs:845: error: expected expression before â)â token
GMP.xs:845: error: expected expression before â)â token
GMP.xs:846: warning: implicit declaration of function âmpz_rootâ
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

Open in new window

LinuxPerlLinux Distributions

Avatar of undefined
Last Comment
Deepak Kosaraju

8/22/2022 - Mon
mrjoltcola

Looks like you are missing libgmp, or more importantly the distro package.

I don't run CentOS, but you need that library RPM.

libgmp-devel or gmp-devel ?


ASKER CERTIFIED SOLUTION
mrjoltcola

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Deepak Kosaraju

CentOS comes with base repository connecting to CentOS Yum Database. so try
yum search gmp*
(or)
yum search libgmp*
if you found any then try
yum install  

you can even try
yum whatprovides gmp.h
SOLUTION
Deepak Kosaraju

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck