Search
Tweets
Recent Changes
« Web-Based Asset Management | Main | New Chart::Clicker Examples »
Tuesday
Sep082009

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.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>