New version of PARI/GP: 2.4.3 svn-12577
Relevant tickets
Files
If you want to upgrade an existing Sage, you need the install 3 spkg's and apply 2 patches. Do this in order as in the list below. In particular, the genus2reduction spkg will not install without the new pari spkg.
PARI spkg: http://sage.math.washington.edu/home/jdemeyer/spkg/pari-2.4.3.svn-12577.p3.spkg
genus2reduction spkg: http://sage.math.washington.edu/home/jdemeyer/spkg/genus2reduction-0.3.p8.spkg
lcalc spkg: http://sage.math.washington.edu/home/jdemeyer/spkg/lcalc-20100428-1.23.p2.spkg
Patch for data/extcode: extcode_9343_combined3.patch
Patch for devel/sage: sagelib_9343_combined7.patch
For reviewers
Download sage-4.6.prealpha1.tar, which is a complete Sage distribution based on sage-4.5.3.alpha1. Just extract it, and type make. In this file, the following tickets have been merged:
The main issue seems to be making sure it actually compiles.
Once it compiles, you can run the PARI/GP test suite by doing env SAGE_CHECK=yes ./sage -f pari-2.4.3.svn-12577.p3.spkg
- For reference, these are the patches for the spkg's:
genus2reduction (note that old genus2reduction.c file was not under revision control unfortunately)
Debugging PARI/GP build errors
If the new pari spkg doesn't build, you should try building PARI/GP stand-alone (i.e. outside of Sage). You should download pari-2.4.3.svn-12577.p3.spkg and then type the following in a shell:
tar xjf pari-2.4.3.svn-12577.p3.spkg cd pari-2.4.3.svn-12577.p3/src ./Configure --graphic=none make gp
If this works, there is a bug in Sage's build process for PARI/GP. If this gives errors, this indicates an upstream issue with PARI/GP. In any case, any errors should be reported on the Sage trac.
Known issues
- It doesn't build on t2.math.washington.edu
jdemeyer: I will have a look at this once I get a working account on this machine.
Tuning (i.e. building with SAGE_PARI_tune=yes) is completely broken.
Upstream issue, reported as http://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=1089
- Not essential for this ticket (tuning is disabled by default anyway).
Build issues on Fedora 13: see 9722
