#9808: Upgrade numpy to 1.4.1 and scipy to 0.8
-----------------------------------+----------------------------------------
Reporter: maldun | Owner: maldun
Type: task | Status: needs_review
Priority: major | Milestone: sage-4.6
Component: packages | Keywords: numpy, scipy
Author: Stefan Reiterer | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Merged:
Work_issues: |
-----------------------------------+----------------------------------------
Comment(by kcrisman):
Replying to [comment:75 maldun]:
> In the spkg-install, there is the line
>
> {{{
> unset CFLAGS LDFLAGS CXXFLAGS SHAREDFLAGS
> }}}
>
> could this be somehow connected to our problem, because if we unset the
flags, gcc doesn't point at Python.h in OS X?
But this is not a change in the spkg-install script. Sage has built fine
on this computer in the very recent past. The new spkg also works fine on
other (newer) Macs.
From the numpy website
{{{
Reusing npymath
In 1.3.0, we started putting portable C math routines in npymath library,
so that people can use those to write portable extensions. Unfortunately,
it was not possible to easily link against this library: in 1.4.0, support
has been added to numpy.distutils so that 3rd party can reuse this
library. See coremath documentation for more information.
}}}
This seems quite possibly relevant (given the error message). After all,
if `Python.h` isn't imported, then maybe the first error seen is that
`PY_UNICODE_DEF` or whatever it's called wouldn't be set... maybe?
I'm just trying to throw out an idea here, I am woefully uniformed when it
comes to headers and things like that. But I feel like it has to be a
change in Scipy or Numpy, since the previous Sage built fine on this
machine.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9808#comment:77>
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.