Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2010-08-21 12:18:16
Size: 2454
Editor: jdemeyer
Comment:
Revision 7 as of 2010-08-21 15:38:07
Size: 3769
Editor: jdemeyer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
 * Patch for {{{sage/devel}}}: [[http://trac.sagemath.org/sage_trac/raw-attachment/ticket/9343/sagelib_9343_combined7.patch|sagelib_9343_combined7.patch]]  * Patch for {{{devel/sage}}}: [[http://trac.sagemath.org/sage_trac/raw-attachment/ticket/9343/sagelib_9343_combined7.patch|sagelib_9343_combined7.patch]]
Line 19: Line 19:
 * Download [[http://sage.math.washington.edu/home/jdemeyer/dist/sage-4.6.prealpha1.tar|sage-4.6.prealpha1.tar]], which is a complete Sage distribution. Just extract it, and type {{{make}}}. In this file, the following tickets have been merged:  * Download [[http://sage.math.washington.edu/home/jdemeyer/dist/sage-4.6.prealpha1.tar|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:
Line 26: Line 26:
   * 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:
   * [[http://trac.sagemath.org/sage_trac/attachment/ticket/9343/pari_spkg.patch|pari]]
   * [[http://trac.sagemath.org/sage_trac/attachment/ticket/9591/genus2reduction-spkg.patch|genus2reduction]] (note that old genus2reduction.c file was '''not''' under revision control unfortunately)
   * [[http://trac.sagemath.org/sage_trac/attachment/ticket/9592/lcalc-spkg.patch|lcalc]]

== 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 [[http://cage.ugent.be/~jdemeyer/sage/pari-2.4.3.svn-12577.p3.spkg|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, this 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.
Line 33: Line 52:
 * Build issues on Fedora 13: see [[http://trac.sagemath.org/sage_trac/ticket/9722|9722]]

New version of PARI/GP: 2.4.3 svn-12577

Relevant tickets

  • 9343: PARI upgrade

  • 9591: genus2reduction

  • 9592: lcalc

  • 9722: PARI/GP build error on Fedora 13

Files

The above list also indicates the order in which to install the spkg's and patches. In particular, the genus2reduction spkg will not install without the new pari spkg.

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:

    • 9343 (needs_work): PARI upgrade

    • 9591 (needs_review): genus2reduction

    • 9592 (needs_review): lcalc

    • 9750 (positive_review): Document that PARI no longer assumes more than GRH

    • 9636 (needs_review): Catch output from PARI in Sage

  • 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:

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, this 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.

  • Build issues on Fedora 13: see 9722