#9958: Upgrade python to 2.7
---------------------------+------------------------------------------------
Reporter: mhampton | Owner: tbd
Type: enhancement | Status: needs_work
Priority: major | Milestone:
Component: packages | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
---------------------------+------------------------------------------------
Comment(by kcrisman):
Replying to [comment:45 fbissey]:
> My friend Steve Trogdon made a prepatched sage-4.7.1.alpha1 spkg
(4.7.1.alpha1.p0 we named it) available to make testing easier, find it
with hos own test.log here
> [http://www.d.umn.edu/~strogdon/sage/]
> It has all the necessary patches from #11244 and this this ticket.
Is one of these patches needed ''before'' doing the Sage spkg itself? I
get an immediate failure
{{{
gcc -o src/convert.os -c -fPIC
-I/Users/student/Desktop/sage-4.7.1.alpha1/local/include
-I/Users/student/Desktop/sage-4.7.1.alpha1/local/include/python2.6
-I/Users/student/Desktop/sage-4.7.1.alpha1/local/include/NTL -Iinclude
src/convert.c
In file included from include/memory.h:23,
from
/Users/student/Desktop/sage-4.7.1.alpha1/local/include/pari/pari.h:42,
from include/convert.h:12,
from src/convert.c:14:
include/interrupt.h:32:20: error: Python.h: No such file or directory
scons: *** [src/convert.os] Error 1
*** TOUCHING ALL CYTHON (.pyx) FILES ***
gcc -o src/convert.os -c -fPIC
-I/Users/student/Desktop/sage-4.7.1.alpha1/local/include
-I/Users/student/Desktop/sage-4.7.1.alpha1/local/include/python2.6
-I/Users/student/Desktop/sage-4.7.1.alpha1/local/include/NTL -Iinclude
src/convert.c
In file included from include/memory.h:23,
from
/Users/student/Desktop/sage-4.7.1.alpha1/local/include/pari/pari.h:42,
from include/convert.h:12,
from src/convert.c:14:
include/interrupt.h:32:20: error: Python.h: No such file or directory
scons: *** [src/convert.os] Error 1
----------------------------------------------------------
sage: Building and installing modified Sage library files.
Installing c_lib
gcc -o src/convert.os -c -fPIC
-I/Users/student/Desktop/sage-4.7.1.alpha1/local/include
-I/Users/student/Desktop/sage-4.7.1.alpha1/local/include/python2.6
-I/Users/student/Desktop/sage-4.7.1.alpha1/local/include/NTL -Iinclude
src/convert.c
In file included from include/memory.h:23,
from
/Users/student/Desktop/sage-4.7.1.alpha1/local/include/pari/pari.h:42,
from include/convert.h:12,
from src/convert.c:14:
include/interrupt.h:32:20: error: Python.h: No such file or directory
scons: *** [src/convert.os] Error 1
ERROR: There was an error building c_lib.
}}}
which I assume is related to one of the patches involved here, though I
couldn't say which one...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9958#comment:50>
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.