[SciPy-user] Compiling scipy on RHEL 5 x64

Kenneth Kalan Consult@KandA-Ltd....
Fri Jan 18 16:30:51 CST 2008


I'm having problems compiling scipy on a RHEL 5 64 bit box.  For by 32 bit
boxes, I've used the rpms from Ashigabou Repository.

I've removed the stock blas and lapack.

I've built Atlas, lapack3, refblas3, ufsparse and python-numpy.

versions (from src.rpm):
lapack3-3.0.18.1
python-numpy-1.0.4-3.1
refblas3-3.0.9.1
ufsparse-2.1.1-1-fc6
atlas-3.7.33.8.1


scipy first complained about not finding the umfpack header files.  Fixed
that and here is an excerpt from where it is failing now.

--
build/src.linux-x86_64-2.4/scipy/linsolve/umfpack/_umfpack_wrap.c:6189:
error: too few arguments to function '__builtin_object_size'
build/src.linux-x86_64-2.4/scipy/linsolve/umfpack/_umfpack_wrap.c:6189:
error: expected expression before ')' token
build/src.linux-x86_64-2.4/scipy/linsolve/umfpack/_umfpack_wrap.c:6189:
error: too few arguments to function '__builtin___memcpy_chk'
build/src.linux-x86_64-2.4/scipy/linsolve/umfpack/_umfpack_wrap.c:6189:
error: expected expression before ')' token
build/src.linux-x86_64-2.4/scipy/linsolve/umfpack/_umfpack_wrap.c:6189:
error: too few arguments to function '__memcpy_ichk'
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
-DSCIPY_UMFPACK_H -DNO_ATLAS_INFO=1 -I/usr/include
-I/usr/lib64/python2.4/site-packages/numpy/core/include
-I/usr/include/python2.4 -c
build/src.linux-x86_64-2.4/scipy/linsolve/umfpack/_umfpack_wrap.c -o
build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/scipy/linsolve/umfpack/_umfpack_wrap.o"
failed with exit status 1
error: Bad exit status from /var/tmp/rpm-tmp.45378 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.45378 (%build)
--

There are several of those error's, this is just the end part of the build.

Any pointers would be appreciated.

Thanks,

Ken


More information about the SciPy-user mailing list