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) /Users/cpanrun/pristine/5.8.7/bin/perl /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/xsubpp -typemap /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/typemap -typemap typemap GMP.xs > GMP.xsc && mv GMP.xsc GMP.c gcc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -O3 -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" GMP.c GMP.xs:4:17: error: gmp.h: No such file or directory GMP.xs:4:17: error: gmp.h: No such file or directory GMP.c: In function 'XS_Math__GMP_new_from_scalar': GMP.c:99: error: 'mpz_t' undeclared (first use in this function) GMP.c:99: error: (Each undeclared identifier is reported only once GMP.c:99: error: for each function it appears in.) GMP.c:99: error: 'RETVAL' undeclared (first use in this function) GMP.c: In function 'XS_Math__GMP_new_from_scalar': GMP.c:99: error: 'mpz_t' undeclared (first use in this function) GMP.c:99: error: (Each undeclared identifier is reported only once GMP.c:99: error: for each function it appears in.) GMP.c:99: error: 'RETVAL' undeclared (first use in this function) GMP.c: In function 'XS_Math__GMP_new_from_scalar_with_base': GMP.c:121: error: 'mpz_t' undeclared (first use in this function) GMP.c:121: error: 'RETVAL' undeclared (first use in this function) GMP.c: In function 'XS_Math__GMP_new_from_scalar_with_base': GMP.c:121: error: 'mpz_t' undeclared (first use in this function) GMP.c:121: error: 'RETVAL' undeclared (first use in this function) GMP.c: In function 'XS_Math__GMP_destroy': GMP.c:141: error: 'mpz_t' undeclared (first use in this function) GMP.c:141: error: 'n' undeclared (first use in this function) GMP.c:145: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_destroy': GMP.c:141: error: 'mpz_t' undeclared (first use in this function) GMP.c:141: error: 'n' undeclared (first use in this function) GMP.c:145: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_stringify_gmp': GMP.c:166: error: 'mpz_t' undeclared (first use in this function) GMP.c:166: error: 'n' undeclared (first use in this function) GMP.c:175: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_stringify_gmp': GMP.c:166: error: 'mpz_t' undeclared (first use in this function) GMP.c:166: error: 'n' undeclared (first use in this function) GMP.c:175: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_get_str_gmp': GMP.c:204: error: 'mpz_t' undeclared (first use in this function) GMP.c:204: error: 'n' undeclared (first use in this function) GMP.c:214: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_get_str_gmp': GMP.c:204: error: 'mpz_t' undeclared (first use in this function) GMP.c:204: error: 'n' undeclared (first use in this function) GMP.c:214: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_sizeinbase_gmp': GMP.c:243: error: 'mpz_t' undeclared (first use in this function) GMP.c:243: error: 'n' undeclared (first use in this function) GMP.c:250: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_uintify_gmp': GMP.c:271: error: 'mpz_t' undeclared (first use in this function) GMP.c:271: error: 'n' undeclared (first use in this function) GMP.c:277: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_add_ui_gmp': GMP.c:298: error: 'mpz_t' undeclared (first use in this function) GMP.c:298: error: 'n' undeclared (first use in this function) GMP.c:303: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_intify_gmp': GMP.c:323: error: 'mpz_t' undeclared (first use in this function) GMP.c:323: error: 'n' undeclared (first use in this function) GMP.c:329: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_mul_2exp_gmp': GMP.c:350: error: 'mpz_t' undeclared (first use in this function) GMP.c:350: error: 'n' undeclared (first use in this function) GMP.c:352: error: 'RETVAL' undeclared (first use in this function) GMP.c:356: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_sizeinbase_gmp': GMP.c:243: error: 'mpz_t' undeclared (first use in this function) GMP.c:243: error: 'n' undeclared (first use in this function) GMP.c:250: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_uintify_gmp': GMP.c:271: error: 'mpz_t' undeclared (first use in this function) GMP.c:271: error: 'n' undeclared (first use in this function) GMP.c:277: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_div_2exp_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: 'RETVAL' undeclared (first use in this function) GMP.c:386: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_add_ui_gmp': GMP.c:298: error: 'mpz_t' undeclared (first use in this function) GMP.c:298: error: 'n' undeclared (first use in this function) GMP.c:303: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_powm_gmp': GMP.c:410: error: 'mpz_t' undeclared (first use in this function) GMP.c:410: error: 'n' undeclared (first use in this function) GMP.c:412: error: 'mod' undeclared (first use in this function) GMP.c:413: error: 'RETVAL' undeclared (first use in this function) GMP.c:417: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_intify_gmp': GMP.c:323: error: 'mpz_t' undeclared (first use in this function) GMP.c:323: error: 'n' undeclared (first use in this function) GMP.c:424: error: parse error before ')' token GMP.c:329: error: parse error before ')' token GMP.c:431: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_mul_2exp_gmp': GMP.c:350: error: 'mpz_t' undeclared (first use in this function) GMP.c:350: error: 'n' undeclared (first use in this function) GMP.c:352: error: 'RETVAL' undeclared (first use in this function) GMP.c:356: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_mmod_gmp': GMP.c:455: error: 'mpz_t' undeclared (first use in this function) GMP.c:455: error: 'a' undeclared (first use in this function) GMP.c:456: error: 'b' undeclared (first use in this function) GMP.c:457: error: 'RETVAL' undeclared (first use in this function) GMP.c:461: error: parse error before ')' token GMP.c:468: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_div_2exp_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: 'RETVAL' undeclared (first use in this function) GMP.c: In function 'XS_Math__GMP_mod_2exp_gmp': GMP.c:492: error: 'mpz_t' undeclared (first use in this function) GMP.c:492: error: 'in' undeclared (first use in this function) GMP.c:494: error: 'RETVAL' undeclared (first use in this function) GMP.c:386: error: parse error before ')' token GMP.c:498: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_powm_gmp': GMP.c:410: error: 'mpz_t' undeclared (first use in this function) GMP.c:410: error: 'n' undeclared (first use in this function) GMP.c:412: error: 'mod' undeclared (first use in this function) GMP.c:413: error: 'RETVAL' undeclared (first use in this function) GMP.c:417: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_add_two': GMP.c:522: error: 'mpz_t' undeclared (first use in this function) GMP.c:522: error: 'm' undeclared (first use in this function) GMP.c:523: error: 'n' undeclared (first use in this function) GMP.c:524: error: 'RETVAL' undeclared (first use in this function) GMP.c:424: error: parse error before ')' token GMP.c:431: error: parse error before ')' token GMP.c:528: error: parse error before ')' token GMP.c:535: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_mmod_gmp': GMP.c:455: error: 'mpz_t' undeclared (first use in this function) GMP.c:455: error: 'a' undeclared (first use in this function) GMP.c:456: error: 'b' undeclared (first use in this function) GMP.c:457: error: 'RETVAL' undeclared (first use in this function) GMP.c: In function 'XS_Math__GMP_sub_two': GMP.c:559: error: 'mpz_t' undeclared (first use in this function) GMP.c:559: error: 'm' undeclared (first use in this function) GMP.c:560: error: 'n' undeclared (first use in this function) GMP.c:461: error: parse error before ')' tokenGMP.c:561: error: 'RETVAL' undeclared (first use in this function) GMP.c:565: error: parse error before ')' token GMP.c:468: error: parse error before ')' token GMP.c:572: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_mod_2exp_gmp': GMP.c:492: error: 'mpz_t' undeclared (first use in this function) GMP.c:492: error: 'in' undeclared (first use in this function) GMP.c:494: error: 'RETVAL' undeclared (first use in this function) GMP.c: In function 'XS_Math__GMP_mul_two': GMP.c:596: error: 'mpz_t' undeclared (first use in this function) GMP.c:596: error: 'm' undeclared (first use in this function) GMP.c:597: error: 'n' undeclared (first use in this function) GMP.c:598: error: 'RETVAL' undeclared (first use in this function) GMP.c:498: error: parse error before ')' token GMP.c:602: error: parse error before ')' token GMP.c:609: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_add_two': GMP.c:522: error: 'mpz_t' undeclared (first use in this function) GMP.c:522: error: 'm' undeclared (first use in this function) GMP.c:523: error: 'n' undeclared (first use in this function) GMP.c:524: error: 'RETVAL' undeclared (first use in this function) GMP.c:528: error: parse error before ')' token GMP.c:535: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_div_two': GMP.c:633: error: 'mpz_t' undeclared (first use in this function) GMP.c:633: error: 'm' undeclared (first use in this function) GMP.c:634: error: 'n' undeclared (first use in this function) GMP.c:635: error: 'RETVAL' undeclared (first use in this function) GMP.c:639: error: parse error before ')' token GMP.c:646: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_sub_two': GMP.c:559: error: 'mpz_t' undeclared (first use in this function) GMP.c:559: error: 'm' undeclared (first use in this function) GMP.c:560: error: 'n' undeclared (first use in this function) GMP.c:561: error: 'RETVAL' undeclared (first use in this function) GMP.c:565: error: parse error before ')' token GMP.c:572: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_bdiv_two': GMP.c:672: error: 'mpz_t' undeclared (first use in this function) GMP.c:672: error: 'm' undeclared (first use in this function) GMP.c:673: 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:681: error: parse error before ')' token GMP.c:688: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_mul_two': GMP.c:596: error: 'mpz_t' undeclared (first use in this function) GMP.c:596: error: 'm' undeclared (first use in this function) GMP.c:597: error: 'n' undeclared (first use in this function) GMP.c:598: error: 'RETVAL' undeclared (first use in this function) GMP.c:602: error: parse error before ')' token GMP.c:609: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_mod_two': GMP.c:716: error: 'mpz_t' undeclared (first use in this function) GMP.c:716: error: 'm' undeclared (first use in this function) GMP.c:717: error: 'n' undeclared (first use in this function) GMP.c:718: error: 'RETVAL' undeclared (first use in this function) GMP.c:722: error: parse error before ')' token GMP.c:729: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_div_two': GMP.c:633: error: 'mpz_t' undeclared (first use in this function) GMP.c:633: error: 'm' undeclared (first use in this function) GMP.c:634: error: 'n' undeclared (first use in this function) GMP.c:635: error: 'RETVAL' undeclared (first use in this function) GMP.c:639: error: parse error before ')' token GMP.c:646: error: parse error before ')' tokenGMP.c: In function 'XS_Math__GMP_cmp_two': GMP.c:753: error: 'mpz_t' undeclared (first use in this function) GMP.c:753: error: 'm' undeclared (first use in this function) GMP.c:754: error: 'n' undeclared (first use in this function) GMP.c:760: error: parse error before ')' token GMP.c:767: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_bdiv_two': GMP.c:672: error: 'mpz_t' undeclared (first use in this function) GMP.c:672: error: 'm' undeclared (first use in this function) GMP.c:673: 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:681: error: parse error before ')' token GMP.c:688: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_gmp_legendre': GMP.c:788: error: 'mpz_t' undeclared (first use in this function) GMP.c:788: error: 'm' undeclared (first use in this function) GMP.c:789: error: 'n' undeclared (first use in this function) GMP.c:795: error: parse error before ')' token GMP.c:802: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_mod_two': GMP.c:716: error: 'mpz_t' undeclared (first use in this function) GMP.c:716: error: 'm' undeclared (first use in this function) GMP.c:717: error: 'n' undeclared (first use in this function) GMP.c:718: error: 'RETVAL' undeclared (first use in this function) GMP.c:722: error: parse error before ')' token GMP.c:729: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_gmp_jacobi': GMP.c:823: error: 'mpz_t' undeclared (first use in this function) GMP.c:823: error: 'm' undeclared (first use in this function) GMP.c:824: error: 'n' undeclared (first use in this function) GMP.c:830: error: parse error before ')' token GMP.c:837: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_cmp_two': GMP.c:753: error: 'mpz_t' undeclared (first use in this function) GMP.c:753: error: 'm' undeclared (first use in this function) GMP.c:754: error: 'n' undeclared (first use in this function) GMP.c:760: error: parse error before ')' token GMP.c:767: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_pow_two': GMP.c:858: error: 'mpz_t' undeclared (first use in this function) GMP.c:858: error: 'm' undeclared (first use in this function) GMP.c:860: error: 'RETVAL' undeclared (first use in this function) GMP.c:864: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_gmp_legendre': GMP.c:788: error: 'mpz_t' undeclared (first use in this function) GMP.c:788: error: 'm' undeclared (first use in this function) GMP.c:789: error: 'n' undeclared (first use in this function) GMP.c:795: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_gcd_two': GMP.c:889: error: 'mpz_t' undeclared (first use in this function) GMP.c:889: error: 'm' undeclared (first use in this function) GMP.c:890: error: 'n' undeclared (first use in this function) GMP.c:891: error: 'RETVAL' undeclared (first use in this function) GMP.c:802: error: parse error before ')' token GMP.c:895: error: parse error before ')' token GMP.c:902: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_gmp_jacobi': GMP.c:823: error: 'mpz_t' undeclared (first use in this function) GMP.c:823: error: 'm' undeclared (first use in this function) GMP.c:824: error: 'n' undeclared (first use in this function) GMP.c:830: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_gmp_fib': GMP.c:927: error: 'mpz_t' undeclared (first use in this function) GMP.c:927: error: 'RETVAL' undeclared (first use in this function) GMP.c:837: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_and_two': GMP.c:948: error: 'mpz_t' undeclared (first use in this function) GMP.c:948: error: 'm' undeclared (first use in this function) GMP.c:949: error: 'n' undeclared (first use in this function) GMP.c:950: error: 'RETVAL' undeclared (first use in this function) GMP.c:954: error: parse error before ')' token GMP.c:961: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_pow_two': GMP.c:858: error: 'mpz_t' undeclared (first use in this function) GMP.c:858: error: 'm' undeclared (first use in this function) GMP.c:860: error: 'RETVAL' undeclared (first use in this function) GMP.c:864: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_xor_two': GMP.c:985: error: 'mpz_t' undeclared (first use in this function) GMP.c:985: error: 'm' undeclared (first use in this function) GMP.c:986: error: 'n' undeclared (first use in this function) GMP.c:987: error: 'RETVAL' undeclared (first use in this function) GMP.c:991: error: parse error before ')' token GMP.c:998: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_gcd_two': GMP.c:889: error: 'mpz_t' undeclared (first use in this function) GMP.c:889: error: 'm' undeclared (first use in this function) GMP.c:890: error: 'n' undeclared (first use in this function) GMP.c:891: error: 'RETVAL' undeclared (first use in this function) GMP.c:895: error: parse error before ')' token GMP.c:902: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_or_two': GMP.c:1022: error: 'mpz_t' undeclared (first use in this function) GMP.c:1022: error: 'm' undeclared (first use in this function) GMP.c:1023: error: 'n' undeclared (first use in this function) GMP.c:1024: error: 'RETVAL' undeclared (first use in this function) GMP.c:1028: error: parse error before ')' token GMP.c:1035: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_gmp_fib': GMP.c:927: error: 'mpz_t' undeclared (first use in this function) GMP.c:927: error: 'RETVAL' undeclared (first use in this function) GMP.c: In function 'XS_Math__GMP_and_two': GMP.c:948: error: 'mpz_t' undeclared (first use in this function) GMP.c:948: error: 'm' undeclared (first use in this function) GMP.c:949: error: 'n' undeclared (first use in this function) GMP.c:950: error: 'RETVAL' undeclared (first use in this function) GMP.c: In function 'XS_Math__GMP_gmp_fac': GMP.c:1060: error: 'mpz_t' undeclared (first use in this function) GMP.c:1060: error: 'RETVAL' undeclared (first use in this function) GMP.c:954: error: parse error before ')' token GMP.c:961: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_gmp_copy': GMP.c:1081: error: 'mpz_t' undeclared (first use in this function) GMP.c:1081: error: 'm' undeclared (first use in this function) GMP.c:1082: error: 'RETVAL' undeclared (first use in this function) GMP.c:1086: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_xor_two': GMP.c:985: error: 'mpz_t' undeclared (first use in this function) GMP.c:985: error: 'm' undeclared (first use in this function) GMP.c:986: error: 'n' undeclared (first use in this function) GMP.c:987: error: 'RETVAL' undeclared (first use in this function) GMP.c:991: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_gmp_tstbit': GMP.c:1109: error: 'mpz_t' undeclared (first use in this function) GMP.c:1109: error: 'm' undeclared (first use in this function) GMP.c:998: error: parse error before ')' token GMP.c:1116: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_or_two': GMP.c:1022: error: 'mpz_t' undeclared (first use in this function) GMP.c:1022: error: 'm' undeclared (first use in this function) GMP.c:1023: error: 'n' undeclared (first use in this function) GMP.c:1024: error: 'RETVAL' undeclared (first use in this function) GMP.c: In function 'XS_Math__GMP_gmp_sqrt': GMP.c:1028: error: parse error before ')' tokenGMP.c:1137: error: 'mpz_t' undeclared (first use in this function) GMP.c:1137: error: 'm' undeclared (first use in this function) GMP.c:1138: error: 'RETVAL' undeclared (first use in this function) GMP.c:1142: error: parse error before ')' token GMP.c:1035: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_gmp_fac': GMP.c:1060: error: 'mpz_t' undeclared (first use in this function) GMP.c:1060: error: 'RETVAL' undeclared (first use in this function) GMP.c: In function 'XS_Math__GMP_gmp_copy': GMP.c:1081: error: 'mpz_t' undeclared (first use in this function) GMP.c:1081: error: 'm' undeclared (first use in this function) GMP.c:1082: error: 'RETVAL' undeclared (first use in this function) GMP.c:1086: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_gmp_tstbit': GMP.c:1109: error: 'mpz_t' undeclared (first use in this function) GMP.c:1109: error: 'm' undeclared (first use in this function) GMP.c:1116: error: parse error before ')' token GMP.c: In function 'XS_Math__GMP_gmp_sqrt': GMP.c:1137: error: 'mpz_t' undeclared (first use in this function) GMP.c:1137: error: 'm' undeclared (first use in this function) GMP.c:1138: error: 'RETVAL' undeclared (first use in this function) GMP.c:1142: error: parse error before ')' token lipo: can't open input file: /var/tmp//ccPzn5Pw.out (No such file or directory) make: *** [GMP.o] Error 1