[SciPy-user] bdist_rpm build error in scipy_core from CVS

Stephen Walton stephen.walton at csun.edu
Fri Jan 28 17:12:58 EST 2005


Joe Cooper wrote:

> Pearu Peterson wrote:
>
>> Fixed in CVS. Anyone using their own scripts to build scipy may need 
>> to fix the scripts accordingly.
>
>
> Excellent!  (The inconsistent camelcaps always bugged me...but I was 
> such a complainer about everything else, I figured I'd let it slide.  ;-)

I just tried

python setup.py bdist_rpm

in the root scipy directory after a "cvs update -Pd" and got

+ env 'CFLAGS=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4' python 
setup.py build
Traceback (most recent call last):
  File "setup.py", line 34, in ?
    import scipy_distutils
ImportError: No module named scipy_distutils
error: Bad exit status from /var/tmp/rpm-tmp.32984 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.32984 (%build)
error: command 'rpmbuild' failed with exit status 1

"python setup.py bdist_rpm" successed in the scipy_core subdirectory, 
however, and installing the scipy_core RPM before building the main 
scipy RPM seems to fix the problem.

Now on to Fernando's helpful set of scripts :-).  Kudos on these 
significant steps towards simplification of the scipy build and install 
process.

Stephen




More information about the SciPy-User mailing list