[SciPy-dev] Trouble with installing scipy from svn

Christopher Burns cburns@berkeley....
Fri Feb 8 14:27:41 CST 2008


numpyconfig.h was not being installed.  I added this to numpy/core/setup.py.

This got me a bit further in the build before failing on the error
below.  UFUNC_NOFPE is defined in the source file ufuncobject.h, but
appears to be removed from this header when it's installed.  Anyone
have any insight on this?

scipy/special/_cephesmodule.c: In function 'init_cephes':
scipy/special/_cephesmodule.c:1084: error: 'UFUNC_NOFPE' undeclared
(first use in this function)
...
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fPIC -I/home/cburns/local/lib64/python2.5/site-packages/numpy/core/include
-I/usr/include/python2.5 -c scipy/special/_cephesmodule.c -o
build/temp.linux-x86_64-2.5/scipy/special/_cephesmodule.o" failed with
exit status 1

On Feb 8, 2008 9:51 AM, Nils Wagner <nwagner@iam.uni-stuttgart.de> wrote:
> Hi all,
>
> I cannot install scipy from svn due to
>
> In file included from
> /usr/local/lib64/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h:14,
>                   from scipy/cluster/src/vq.h:6,
>                   from scipy/cluster/src/vq.c:11:
> /usr/local/lib64/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:16:25:
> error: numpyconfig.h: No such file or directory
> In file included from
> /usr/local/lib64/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h:14,
>                   from scipy/cluster/src/vq.h:6,
>                   from scipy/cluster/src/vq.c:11:
> /usr/local/lib64/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:16:25:
> error: numpyconfig.h: No such file or directory
> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG
> -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC
> -I/usr/local/lib64/python2.5/site-packages/numpy/core/include
> -I/usr/local/lib64/python2.5/site-packages/numpy/core/include
> -I/usr/include/python2.5 -c scipy/cluster/src/vq.c -o
> build/temp.linux-x86_64-2.5/scipy/cluster/src/vq.o" failed
> with exit status 1
>
> Nils
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>



-- 
Christopher Burns, Software Engineer
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/


More information about the Scipy-dev mailing list