[SciPy-user] gutsy amd64
Robin
robince at gmail.com
Sun Mar 2 12:34:43 EST 2008
On Sun, Mar 2, 2008 at 5:20 PM, osman <osman at fuse.net> wrote:
> build/src.linux-x86_64-2.4/scipy/sparse/linalg/dsolve/umfpack/_umfpack_wrap.c:6196: error: expected expression before ')' token
> build/src.linux-x86_64-2.4/scipy/sparse/linalg/dsolve/umfpack/_umfpack_wrap.c:6196: error: too few arguments to function 'SWIG_Python_NewPointerObj'
> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall
> -Wstrict-prototypes -fPIC -DSCIPY_UMFPACK_H -DSCIPY_AMD_H
> -DNO_ATLAS_INFO=2 -I/usr/local/include -I/usr/include
> -I/usr/lib/python2.4/site-packages/numpy/core/include
> -I/usr/include/python2.4 -c
> build/src.linux-x86_64-2.4/scipy/sparse/linalg/dsolve/umfpack/_umfpack_wrap.c -o build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/scipy/sparse/linalg/dsolve/umfpack/_umfpack_wrap.o" failed with exit status 1
> stargate:/home/osman/SCIPY/scipy-bash->
This looks like it's not finding a header file... Look further up the
output for the first error and it will tell you which is missing. You
would probably need to install the -dev package to get the header
files. (perhaps libsuitesparse-dev or libumfpack4-dev but I'm not
sure).
I think libsuitesparse might be the package to use. I'm not familiar
with the ubuntu scipy packages (see below) but it might be that scipy
depends on libsuitesparse, which blocks with libumfpack4 (becuase it
is a more recent version). This would explain why you can't install
them both at the same time.
> any help is much appreciated.
I've had better luck installing everything from scratch rather than
relying on distribution packages which can be out of date, built with
a different compiler, incompatible versions etc.
I put the steps I use to build (64bit) on Ubuntu on the wiki, so
perhaps that is helpful.
http://www.scipy.org/Installing_SciPy/Linux#head-1c4018a51422706809ee96a4db03ca0669f5f6d1
Cheers,
Robin
More information about the SciPy-User
mailing list