[SciPy-user] installation problem with dfftpack on linux

Daniel Nogradi nogradi at gmail.com
Sat May 19 10:00:22 EDT 2007


Hi list,

I have the following installed on a Fedora 3 box:

gcc-3.4.4-2.fc3
gcc-c++-3.4.4-2.fc3
gcc-g77-3.4.4-2.fc3
libf2c-3.4.4-2.fc3
libgcc-3.4.4-2.fc3
compat-gcc-8-3.3.4.2
compat-gcc-c++-8-3.3.4.2

gcc4-4.0.0-0.41.fc3
gcc4-gfortran-4.0.0-0.41.fc3
gcc4-gfortran-4.0.0-0.41.fc3
libgfortran-4.0.0-0.41.fc3

and am trying to do a fresh install of scipy-0.5.2 but "python
setup.py build_ext" is complaining about a missing f95 executable and
ld about missing dfftpack:

/usr/bin/g77 -g -Wall -shared
build/temp.linux-i686-2.5/build/src.linux-i686-2.5/Lib/fftpack/_fftpackmodule.o
build/temp.linux-i686-2.5/Lib/fftpack/src/zfft.o
build/temp.linux-i686-2.5/Lib/fftpack/src/drfft.o
build/temp.linux-i686-2.5/Lib/fftpack/src/zrfft.o
build/temp.linux-i686-2.5/Lib/fftpack/src/zfftnd.o
build/temp.linux-i686-2.5/build/src.linux-i686-2.5/fortranobject.o
-L/usr/local/lib -Lbuild/temp.linux-i686-2.5 -ldfftpack -lfftw3 -lg2c
-o build/lib.linux-i686-2.5/scipy/fftpack/_fftpack.so
/usr/bin/ld: cannot find -ldfftpack
collect2: ld returned 1 exit status

Shouldn't dfftpack come with the scipy distribution?

I tried "python setup.py config_fc --fcompiler=gnu build_ext" and also
"python setup.py config_fc --fcompiler=gnu95 build_ext" but no luck.

Daniel



More information about the SciPy-User mailing list