It turns out that GMP has to be installed first. After that everything went
off without a hitch.

Thanks to all,
Jeff.

>>> "Jeff Williams" <[EMAIL PROTECTED]> 6/22/2004 10:35:23 AM >>>

Ah, you were right exactly. It turns out the Math::GMP module failed. I
just tried installing that one by itself and it failed with the output
below. Any other great ideas?

CPAN.pm: Going to build C/CH/CHIPT/Math-GMP-2.03.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/lib/perl5/5.8.1/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.8.1/ExtUtils/typemap -typemap typemap  GMP.xs > GMP.xsc
&&
mv GMP.xsc GMP.c
cc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mcpu=i686
-fmessage-length=0 -Wall -pipe   -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\"
-fPIC "-I/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE"   GMP.c
GMP.xs:4:17: 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: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)

(craploads of other errors and warnings in both the .c and .xs files.)

Thanks,
Jeff
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED] 
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to