Posted on 2009-04-10 16:20:29-07 by gorch
how to install Math::GMP on Solaris UltraSparc 64 bit running Solaris 10
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.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.