[SciPy-user] cephesmodule build problem

Stephen Walton stephen.walton at csun.edu
Fri May 13 16:56:38 EDT 2005


I'm having a very strange and annoyingly intermittent problem building 
Scipy 0.3.4613 from CVS.  Specifically, if I do "python setup.py build" 
all is well.  If I do "python setup.py bdist_rpm" I get the following error:

> gcc: Lib/special/_cephesmodule.c
> Lib/special/_cephesmodule.c:17:30: _nc_cephesmodule.c: No such file or 
> directory
> Lib/special/_cephesmodule.c:17:30: _nc_cephesmodule.c: No such file or 
> directory
> error: Command "gcc -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32 
> -march=i386 -mtune=pentium4 -D_GNU_SOURCE -fPIC -O2 -g -pipe -m32 
> -march=i386 -mtune=pentium4 -fPIC -DUSE_MCONF_LE 
> -DNUMERIC_VERSION="\"24.0b2\"" -DNUMERIC -I/usr/include/python2.3 
> -I/usr/include/python2.3 -c Lib/special/_cephesmodule.c -o 
> build/temp.linux-i686-2.3/Lib/special/_cephesmodule.o" failed with 
> exit status 1

If I copy the above gcc command and paste it into a terminal window, it 
succeeds fine.  As far as I can tell, the gcc commands for both build 
and bdist_rpm are the same.  I do 'rm -rf build dist MANIFEST' in the 
root scipy directory before the build in all cases.  This is on FC3.





More information about the SciPy-User mailing list