#8664: Upgrade Sage's MPIR spkg to version 2.1.3 or later
-------------------------------------------------+--------------------------
   Reporter:  was                                |       Owner:  GeorgSWeber    
            
       Type:  enhancement                        |      Status:  needs_review   
            
   Priority:  major                              |   Milestone:  sage-4.6.1     
            
  Component:  packages                           |    Keywords:  GMP ECM 
execstack Fedora 14
     Author:  Mike Hansen, Leif Leonhardy        |    Upstream:  N/A            
            
   Reviewer:  Leif Leonhardy                     |      Merged:                 
            
Work_issues:  Fix extension module dependencies  |  
-------------------------------------------------+--------------------------
Changes (by newvalueoldvalue):

  * keywords:  => GMP ECM execstack Fedora 14
  * reviewer:  => Leif Leonhardy
  * status:  needs_work => needs_review
  * work_issues:  Fix extension module dependencies; upgrade upstream; fix
                  execstack issue. => Fix extension
                  module dependencies
  * author:  Mike Hansen => Mike Hansen, Leif Leonhardy


Comment:

 '''New spkg: http://spkg-upload.googlecode.com/files/mpir-2.1.3.p0.spkg'''

 '''md5sum:''' `f65cbb309ee471d2a64f59e52e592494  mpir-2.1.3.p0.spkg`

 New spkg with updated upstream, "reviewer" changes, fix for Fedora 14
 (based on Mike's 2.1.1 spkg).

 Setting this to needs review though we still need a patch to the Sage
 library to fix the extension module dependencies. Can be tested "stand-
 alone" (with `SAGE_CHECK=yes`), but should be installed together with the
 new ECM 6.3 spkg from #5847 (also needing review by a third person), since
 otherwise ECM doesn't build (i.e., the old version doesn't work with GMP
 5.x or MPIR 2.x).

 Steps to install:
  * Download the new MPIR spkg and the [http://spkg-
 upload.googlecode.com/files/ecm-6.3.p0.spkg ecm-6.3.p0.spkg] from #5847.
  * Copy both files into `$SAGE_ROOT/spkg/standard` (such that 'make' will
 "see" them).
  * Then do:
 {{{
 #!sh
 $ export SAGE_CHECK=yes                # optional, but recommended
 $ export SAGE_UPGRADING=yes            # required to rebuild all dependent
 spkgs, too

 $ export SAGE_PARALLEL_SPKG_BUILD=yes  # optional
 $ export MAKE="make -jN"               # optional; N: number of 'make'
 jobs

 $ time make build                      # just rebuild Sage (without the
 documentation)
 $                                      # (logs go to install.log and
 spkg/logs/*)
 $ ./sage -ba-force                     # rebuild the whole Sage library,
 necessary until
                                        # we fix the dependencies in
 module_list.py
 $ time make ptestlong NUM_THREADS=N    # Use N threads instead of the
 default number
                                        # (also rebuilds the documentation
 as needed)
 }}}
  * Report back... ;-)

 (I've so far tested both packages with Sage 4.6.1.alpha0 on Ubuntu 9.04
 x86 and Ubuntu 10.04 x86_64.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8664#comment:29>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to