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 #### GMP.xs:4:17: 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_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) [snip 100+ more lines of error messages] 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 #### ld: /usr/local/lib/libgmp.a(mode1o.o) has local relocation entries in non-writable section (__TEXT,__text)