[SciPy-user] Building scipy on FC5 x86_64

Neal Becker ndbecker2 at gmail.com
Fri Oct 20 12:13:30 CDT 2006


Neal Becker wrote:

> Nils Wagner wrote:
> 
>> Trond Danielsen wrote:
>>> Hi!
>>>
>>> I am trying to build scipy on Fedora Core 5 (x86_64), but setup.py
>>> cannot find the required libraries. How can I add /usr/lib64 to the
>>> lib-path?
>>>
>>> I have followed the instructions on the website for installing on fc5,
>>> so the required libs are installed. scipy version is 0.4.8 and numpy
>>> is the latest from fedora extra.
>>>
>>> Best regards,
>>>   
>> AFAIK you can add an entry in the file system_info.py in line 140
>> (numpy/numpy/distutils).
>> 
>> Nils
> env CFLAGS="$RPM_OPT_FLAGS" ATLAS=%{_libdir} FFTW=%{_libdir}
> BLAS=%{_libdir} LAPACK=%{_libdir} python setup.py config_fc
> --fcompiler=gnu95 build

This was pasted directly from an rpm spec file.  Try:
ATLAS=/usr/lib64 FFTW=/usr/lib64 BLAS=/usr/lib64 LAPACK=/usr/lib64 python setup.py config_fc --fcompiler=gnu95 build

make sure you have numpy fftw2-devel, blas-devel, lapack-devel, gcc-gfortran, gcc-c++, libstdc++, python-devel



More information about the SciPy-user mailing list