spod.cx

Math::Pari on solaris 9

In case this makes life easier for anyone...

steps for successful installation of Math::Pari on Solaris 9 (perl 5.8.4 in our case):

  1. Grab latest Math::Pari source, and untar
  2. Grab latest pari source (I used http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.1.7.tgz) and untar in the directory you just created containing Math::Pari
  3. perl Makefile.PL machine=none
  4. make
  5. make install

Older versions of pari seemed to cause problems, as did the latest alpha or CVS releases. It turned out the big problem was down to the machine optimisation not working for modern sparc/solaris combinations. Forcing it to use machine=none seems to have solved the compilation problems.


Contact: ben@spod.cx