[SciPy-user] Build problems

Dr. Seth Olsen seth.olsen at gmail.com
Mon Nov 7 02:28:39 CST 2005


Hi Sci-py users,

I'm trying to build Sci-py on a Pentium M machine running Fedora core 4 with
gcc v.4.0.1 and python 2.4.1. I have already installed atlas, atlas_lapack,
fftw, f2py etc. in their latest incarnations as visible on the
Fedora.org<http://Fedora.org>rpm site via yum. When I execute 'python
setup.py build', the building stops with an error. The problem seems to be
with the dfitpack module. The failed command in the build gives this
standard output:
building 'scipy.interpolate.dfitpack' extension
compiling C sources
gcc options: '-pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC'
creating build/temp.linux-i686-2.4/build/src/Lib/interpolate
compile options: '-Ibuild/src -I/usr/include/python2.4 -c'
gcc: build/src/Lib/interpolate/dfitpackmodule.c

building 'scipy.interpolate.dfitpack' extension
compiling C sources
gcc options: '-pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC'
creating build/temp.linux-i686-2.4/build/src/Lib/interpolate
compile options: '-Ibuild/src -I/usr/include/python2.4 -c'
gcc: build/src/Lib/interpolate/dfitpackmodule.c
build/src/Lib/interpolate/dfitpackmodule.c: In function
$-1òøf2py_rout_dfitpack_surfit_smthòù:
build/src/Lib/interpolate/dfitpackmodule.c:2446: error: invalid storage
class for function $-1òøcalc_lwrk1òù
build/src/Lib/interpolate/dfitpackmodule.c:2458: error: invalid storage
class for function $-1òøcalc_lwrk2òù
build/src/Lib/interpolate/dfitpackmodule.c: In function
$-1òøf2py_rout_dfitpack_surfit_lsqòù:
build/src/Lib/interpolate/dfitpackmodule.c:2882: error: invalid storage
class for function $-1òøcalc_lwrk1òù
build/src/Lib/interpolate/dfitpackmodule.c:2894: error: invalid storage
class for function $-1òøcalc_lwrk2òù
build/src/Lib/interpolate/dfitpackmodule.c: In function
$-1òøf2py_rout_dfitpack_surfit_smthòù:
build/src/Lib/interpolate/dfitpackmodule.c:2446: error: invalid storage
class for function $-1òøcalc_lwrk1òù
build/src/Lib/interpolate/dfitpackmodule.c:2458: error: invalid storage
class for function $-1òøcalc_lwrk2òù
build/src/Lib/interpolate/dfitpackmodule.c: In function
$-1òøf2py_rout_dfitpack_surfit_lsqòù:
build/src/Lib/interpolate/dfitpackmodule.c:2882: error: invalid storage
class for function $-1òøcalc_lwrk1òù
build/src/Lib/interpolate/dfitpackmodule.c:2894: error: invalid storage
class for function $-1òøcalc_lwrk2òù
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -Ibuild/src
-I/usr/include/python2.4 -c build/src/Lib/interpolate/dfitpackmodule.c -o
build/temp.linux-i686-2.4/build/src/Lib/interpolate/dfitpackmodule.o" failed
with exit status 1

In the above, please replace the nonsense $-1òø with the backward quote `
and 2òù with the forward quote '.

Has anybody seen this sort of thing before? Does anyone know how I can get
around it (and, preferably, still keep the dfitpack functionality)?

Cheers,

Seth
--
ccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccms

Dr Seth Olsen, PhD
Postdoctoral Fellow, Biomolecular Modeling Group
Centre for Computational Molecular Science
Chemistry Building,
The University of Queensland
Qld 4072, Brisbane, Australia

tel (617) 33653732
fax (617) 33654623
email: s.olsen1 at uq.edu.au
Web: www.ccms.uq.edu.au <http://www.ccms.uq.edu.au>

ccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scipy.net/pipermail/scipy-user/attachments/20051107/7167c015/attachment.htm


More information about the SciPy-user mailing list