Another Bout With Math::Pari
Today we needed to install Math::Pari on an Opteron (x86_64) based Debian box at the office. I’m documenting here the trials and tribulations we had to go through to get it to work:
- Downloaded latest Math::Pari tarball from CPAN
- Downloaded pari version 2.1.7 tarball
- Untar Math::Pari
- cd into Math::Pari and run “perl Makefile.PL pari_tgz=/path/to/pari-2.1.7.tgz”
- Ignore all the stupid messages
- run “make realclean”
- cd into the new “pari-2.1.7″ directory that is now inside the Math::Pari dist
- run “./Configure” and then “make gp”
- cd back up a directory to the Math::Pari dist
- run “perl Makefile.PL Configure”
- run “make”
- run “make test”
If all goes well then all your tests should be passing! There may be an easier way to do this, but this is what worked for me.

Comments (No comments)
There are no comments for this post so far.
Post a comment