#12515: Upgrade mpc and make it a standard package
-------------------------------------------------------------+--------------
       Reporter:  jdemeyer                                   |         Owner:  
tbd              
           Type:  enhancement                                |        Status:  
needs_review     
       Priority:  major                                      |     Milestone:  
sage-pending     
      Component:  packages                                   |    Resolution:   
                
       Keywords:                                             |   Work issues:   
                
Report Upstream:  Reported upstream. Little or no feedback.  |     Reviewers:  
Jean-Pierre Flori
        Authors:  Jeroen Demeyer                             |     Merged in:   
                
   Dependencies:  #10492, #12223                             |      Stopgaps:   
                
-------------------------------------------------------------+--------------

Old description:

> Since `gcc-4.6.2` has `mpc` as dependency and since `mpc` could be useful
> for the rest of Sage, it would be good to include mpc as standard
> package.  There already is an optional `mpc` package.  I also upgraded
> `mpc` to the latest svn version (the latest stable version has various
> bugs in `./configure` causing for example failures on Solaris).
>
> I added one patch to remove the compiler flags `-std=c99 -pedantic` which
> cause build failures on some systems.  Reported upstream:
> [https://gforge.inria.fr/tracker/index.php?func=detail&aid=14070]
>
> '''spkg''':
> [http://boxen.math.washington.edu/home/jdemeyer/spkg/mpc-1.0.0dev1126.p0.spkg]
>
> '''apply''' [attachment:12515_mpc_sage_root.patch] to the `SAGE_ROOT`
> repository.
>
> '''apply''' [attachment:12515_mpc_standard.patch] and
> [attachment:12515_norm.patch] to the Sage library.

New description:

 Since `gcc-4.6.2` has `mpc` as dependency and since `mpc` could be useful
 for the rest of Sage, it would be good to include mpc as standard package.
 There already is an optional `mpc` package.  I also upgraded `mpc` to the
 latest svn version (the latest stable version has various bugs in
 `./configure` causing for example failures on Solaris).

 I added one patch to remove the compiler flag `-D_FORTIFY_SOURCE=2` which
 causes build failures on some systems.  Reported upstream:
 [https://gforge.inria.fr/tracker/index.php?func=detail&aid=14070]

 '''spkg''':
 [http://boxen.math.washington.edu/home/jdemeyer/spkg/mpc-1.0.0dev1126.p1.spkg]

 '''apply''' [attachment:12515_mpc_sage_root.patch] to the `SAGE_ROOT`
 repository.

 '''apply''' [attachment:12515_mpc_standard.patch] and
 [attachment:12515_norm.patch] to the Sage library.

--

Comment (by jdemeyer):

 The problem is really due to -D_FORTIFY_SOURCE=2.  Removed that flag
 instead.

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