[SciPy-user] scipy build bdist_rpm
Christian Kristukat
ckkart at hoc.net
Fri Jun 23 23:22:11 EDT 2006
Robert Kern wrote:
> Christian Kristukat wrote:
>> Hi,
>> I tried to build a binary rpm using
>>
>> python setup.py bdist_rpm
>>
>> on scipy 0.4.9 and get the following error:
>>
>> building extension "scipy.fftpack._fftpack" sources
>> Traceback (most recent call last):
>> File "setup.py", line 50, in ?
>> setup_package()
>
>> File "/usr/lib/python2.4/site-packages/numpy/distutils/command/build_src.py",
>> line 412, in f2py_sources
>> raise ValueError("%r missing" % (target_file,))
>> ValueError: '_fftpackmodule.c' missing
>> error: Bad exit status from /home/ck/testarea/rpm/tmp/rpm-tmp.24879 (%build)
>>
>>
>> RPM build errors:
>> Bad exit status from /home/ck/testarea/rpm/tmp/rpm-tmp.24879 (%build)
>> error: command 'rpmbuild' failed with exit status 1
>>
>> A normal build however runs without problems.
>
> numpy.distutils adds a build_src command that scipy uses extensively. The
> command dependencies are sometimes no triggered correctly. Try explicitly
> listing the important commands:
>
> $ python setup.py build_src build_clib build_ext build bdist_rpm
>
Thanks, but it's still the same or should I remove the 'build' directory first?
Christian
More information about the SciPy-User
mailing list