|
Modifications must be made to 2 files in the distribution.
First, in Makefile.PL, you must modify the following line:
'LIBS' => ['-lgmp'], # e.g., '-lm'
to
'LIBS' => ['-L/usr/local/lib/sparcv9 -lgmp']
Second, in GMP.xs
#include "gmp.h"
to
#include "/usr/local/include/gmp.h"
once these are done, and assuming the GMP libraries are properly installed, Math::GMP should be abl
+e to compile properly.
|