#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 extension module library dependencies
     Author:  Mike Hansen, Leif Leonhardy  |    Upstream:  N/A                  
                                            
   Reviewer:  Leif Leonhardy               |      Merged:                       
                                            
Work_issues:                               |  
-------------------------------------------+--------------------------------
Changes (by leif):

  * keywords:  GMP ECM execstack Fedora 14 => GMP ECM execstack Fedora 14
               extension module library dependencies
  * work_issues:  Fix extension module dependencies =>


Comment:

 Replying to [comment:29 leif]:
 > Setting this to needs review though we still need a patch to the Sage
 library to fix the extension module dependencies. [...]

 I've attached a patch that fixes the dependency issue with extension
 modules of the Sage library.


 '''Updated steps to test / install:'''
  * Download the [http://spkg-
 upload.googlecode.com/files/mpir-2.1.3.p0.spkg 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).
  * Download the [http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/8664/trac_8664-fix_extmod_deps_for_MPIR_generically-
 sagelib.patch patch to the Sage library]. '''Do not yet apply the
 patch.''' (We first rebuild / reinstall dependent spkgs, of which the Sage
 library is one, so the patched version could get overwritten.)
  * 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/*)
 $ cd devel/sage
 $ hg import /path/to/trac_8664-fix_extmod_deps_for_MPIR_generically-
 sagelib.patch
 $ cd ../..
 $ ./sage -b                            # rebuild the Sage library; only
 dependent modules

 $ time make ptestlong NUM_THREADS=N    # Use N threads instead of the
 default number
                                        # (also rebuilds the documentation
 as needed)
 }}}
  * Report back... ;-)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8664#comment:33>
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