#9808: Upgrade numpy to 1.4.1 and scipy to 0.8
-----------------------------------+----------------------------------------
Reporter: maldun | Owner: maldun
Type: task | Status: needs_work
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 fbissey):
OK - so there is a fair difference on that file between 0.7.2 and 0.8.0.
headers in gammaincinv.c in 0.7.2
{{{
#include <stdio.h>
#include <math.h>
#include "../cephes.h"
#undef fabs
#include "misc.h"
}}}
in 0.8.0
{{{
#include <Python.h>
#include <numpy/npy_math.h>
#include <stdio.h>
#include <math.h>
#include "../cephes.h"
#undef fabs
#include "misc.h"
}}}
So it will be very interesting to get a successful build log of
scipy-0.8.0
in sage for inspection. A quick and dirty fix would be to change
<Python.h>
to <python2.6/Python.h> and I am not completely sure it would work
either.
There are a few more Python.h header in that folder so just fixing that
one may not work:
{{{
grep -r "Python\.h" *
amos_wrappers.h:#include "Python.h"
cdf_wrappers.h:#include "Python.h"
cephes/sici.c:#include <Python.h>
cephes/mconf.h:#include <Python.h>
_cephesmodule.c:#include "Python.h"
c_misc/gammaincinv.c:#include <Python.h>
lambertw.c:#include "Python.h"
orthogonal_eval.c:#include "Python.h"
specfun_wrappers.h:#include "Python.h"
toms_wrappers.h:#include "Python.h"
ufunc_extras.h:#include "Python.h"
}}}
considering the SConscript the files in the cephes subfolder will probably
be trouble too.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9808#comment:98>
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.