Hello everybody,
i´m trying to get scipy build. I´ve installed python-numpy and atlas
with lapack support without any problems.
"python setup.py build" fails with
building extension "scipy.fftpack._fftpack" sources
target build/src.linux-i686-2.5/_fftpackmodule.c does not exist:
Assuming _fftpackmodule.c was generated with "build_src --inplace"
command.
error: '_fftpackmodule.c' missing
Is there an easy workaround? Do you need some more informations? I´ve
added the whole output.
Thanks so far
Volker
non-existing path in 'scipy/cluster': 'tests'
non-existing path in 'scipy/cluster': 'src/vq_wrap.cpp'
mkl_info:
libraries mkl,vml,guide not found in /usr/local/lib
libraries mkl,vml,guide not found in /usr/lib
NOT AVAILABLE
fftw3_info:
libraries fftw3 not found in /usr/local/lib
FOUND:
libraries = ['fftw3']
library_dirs = ['/usr/lib']
define_macros = [('SCIPY_FFTW3_H', None)]
include_dirs = ['/usr/include']
djbfft_info:
NOT AVAILABLE
non-existing path in 'scipy/fftpack': 'tests'
could not resolve pattern in 'scipy/fftpack': 'dfftpack/*.f'
non-existing path in 'scipy/fftpack': 'fftpack.pyf'
non-existing path in 'scipy/fftpack': 'src/zfft.c'
non-existing path in 'scipy/fftpack': 'src/drfft.c'
non-existing path in 'scipy/fftpack': 'src/zrfft.c'
non-existing path in 'scipy/fftpack': 'src/zfftnd.c'
non-existing path in 'scipy/fftpack': 'convolve.pyf'
non-existing path in 'scipy/fftpack': 'src/convolve.c'
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in /usr/local/lib
libraries mkl,vml,guide not found in /usr/lib
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
FOUND:
libraries = ['ptf77blas', 'ptcblas', 'atlas']
library_dirs = ['/usr/lib']
language = c
include_dirs = ['/usr/include']
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable ifort
Could not locate executable efort
Could not locate executable efc
Could not locate executable ifort
Could not locate executable efort
Could not locate executable efc
customize IntelFCompiler
customize LaheyFCompiler
customize PGroupFCompiler
customize AbsoftFCompiler
customize NAGFCompiler
customize VastFCompiler
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize CompaqFCompiler
customize IntelItaniumFCompiler
customize IntelEM64TFCompiler
customize Gnu95FCompiler
Could not locate executable f95
customize Gnu95FCompiler
Could not locate executable f95
customize Gnu95FCompiler using config
compiling '_configtest.c':
/* This file is generated from numpy/distutils/system_info.py */
void ATL_buildinfo(void);
int main(void) {
ATL_buildinfo();
return 0;
}
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
compile options: '-c'
gcc: _configtest.c
gcc -pthread _configtest.o -L/usr/lib -lptf77blas -lptcblas -latlas -o _configtest
ATLAS version 3.7.33 built by root on Wed Jun 13 13:06:43 CEST 2007:
UNAME : Linux LegBox-T60 2.6.21-ARCH #1 SMP PREEMPT Mon Jun 11 23:47:51 CEST 2007 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux
INSTFLG : -1 0 -a 1
ARCHDEFS : -DATL_OS_Linux -DATL_ARCH_Core2Duo -DATL_CPUMHZ=1995 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632
F2CDEFS : -DAdd_ -DF77_INTEGER=int -DStringSunStyle
CACHEEDGE: 2097152
F77 : gfortran, version GNU Fortran (GCC) 4.2.0
F77FLAGS : -O -m32
SMC : gcc, version gcc (GCC) 4.2.0
SMCFLAGS : -fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32
SKC : gcc, version gcc (GCC) 4.2.0
SKCFLAGS : -fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32
success!
removing: _configtest.c _configtest.o _configtest
FOUND:
libraries = ['ptf77blas', 'ptcblas', 'atlas']
library_dirs = ['/usr/lib']
language = c
define_macros = [('ATLAS_INFO', '"\\"3.7.33\\""')]
include_dirs = ['/usr/include']
could not resolve pattern in 'scipy/integrate': 'linpack_lite/*.f'
could not resolve pattern in 'scipy/integrate': 'mach/*.f'
could not resolve pattern in 'scipy/integrate': 'quadpack/*.f'
could not resolve pattern in 'scipy/integrate': 'odepack/*.f'
non-existing path in 'scipy/integrate': '_quadpackmodule.c'
non-existing path in 'scipy/integrate': '_odepackmodule.c'
non-existing path in 'scipy/integrate': 'vode.pyf'
non-existing path in 'scipy/integrate': 'tests'
could not resolve pattern in 'scipy/interpolate': 'fitpack/*.f'
non-existing path in 'scipy/interpolate': '_fitpackmodule.c'
non-existing path in 'scipy/interpolate': 'fitpack.pyf'
non-existing path in 'scipy/interpolate': 'tests'
non-existing path in 'scipy/io': 'numpyiomodule.c'
non-existing path in 'scipy/io': 'tests'
non-existing path in 'scipy/io': 'examples'
non-existing path in 'scipy/io': 'docs'
ATLAS version 3.7.33
non-existing path in 'scipy/lib/blas': 'fblas.pyf.src'
non-existing path in 'scipy/lib/blas': 'fblaswrap.f.src'
could not resolve pattern in 'scipy/lib/blas': 'fblas_l?.pyf.src'
non-existing path in 'scipy/lib/blas': 'cblas.pyf.src'
could not resolve pattern in 'scipy/lib/blas': 'cblas_l?.pyf.src'
non-existing path in 'scipy/lib/blas': 'tests'
lapack_opt_info:
lapack_mkl_info:
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_threads_info
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
FOUND:
libraries = ['lapack', 'ptf77blas', 'ptcblas', 'atlas']
library_dirs = ['/usr/lib']
language = f77
include_dirs = ['/usr/include']
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelFCompiler
customize LaheyFCompiler
customize PGroupFCompiler
customize AbsoftFCompiler
customize NAGFCompiler
customize VastFCompiler
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize CompaqFCompiler
customize IntelItaniumFCompiler
customize IntelEM64TFCompiler
customize Gnu95FCompiler
Could not locate executable f95
customize Gnu95FCompiler
Could not locate executable f95
customize Gnu95FCompiler using config
compiling '_configtest.c':
/* This file is generated from numpy/distutils/system_info.py */
void ATL_buildinfo(void);
int main(void) {
ATL_buildinfo();
return 0;
}
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
compile options: '-c'
gcc: _configtest.c
gcc -pthread _configtest.o -L/usr/lib -llapack -lptf77blas -lptcblas -latlas -o _configtest
ATLAS version 3.7.33 built by root on Wed Jun 13 13:06:43 CEST 2007:
UNAME : Linux LegBox-T60 2.6.21-ARCH #1 SMP PREEMPT Mon Jun 11 23:47:51 CEST 2007 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux
INSTFLG : -1 0 -a 1
ARCHDEFS : -DATL_OS_Linux -DATL_ARCH_Core2Duo -DATL_CPUMHZ=1995 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632
F2CDEFS : -DAdd_ -DF77_INTEGER=int -DStringSunStyle
CACHEEDGE: 2097152
F77 : gfortran, version GNU Fortran (GCC) 4.2.0
F77FLAGS : -O -m32
SMC : gcc, version gcc (GCC) 4.2.0
SMCFLAGS : -fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32
SKC : gcc, version gcc (GCC) 4.2.0
SKCFLAGS : -fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32
success!
removing: _configtest.c _configtest.o _configtest
FOUND:
libraries = ['lapack', 'ptf77blas', 'ptcblas', 'atlas']
library_dirs = ['/usr/lib']
language = f77
define_macros = [('ATLAS_INFO', '"\\"3.7.33\\""')]
include_dirs = ['/usr/include']
ATLAS version 3.7.33
non-existing path in 'scipy/lib/lapack': 'flapack.pyf.src'
could not resolve pattern in 'scipy/lib/lapack': 'flapack_*.pyf.src'
non-existing path in 'scipy/lib/lapack': 'clapack.pyf.src'
non-existing path in 'scipy/lib/lapack': 'calc_lwork.f'
non-existing path in 'scipy/lib/lapack': 'atlas_version.c'
non-existing path in 'scipy/lib/lapack': 'tests'
ATLAS version 3.7.33
non-existing path in 'scipy/linalg': 'src/fblaswrap.f'
non-existing path in 'scipy/linalg': 'generic_fblas.pyf'
non-existing path in 'scipy/linalg': 'generic_fblas1.pyf'
non-existing path in 'scipy/linalg': 'generic_fblas2.pyf'
non-existing path in 'scipy/linalg': 'generic_fblas3.pyf'
non-existing path in 'scipy/linalg': 'interface_gen.py'
non-existing path in 'scipy/linalg': 'generic_cblas.pyf'
non-existing path in 'scipy/linalg': 'generic_cblas1.pyf'
non-existing path in 'scipy/linalg': 'interface_gen.py'
non-existing path in 'scipy/linalg': 'generic_flapack.pyf'
non-existing path in 'scipy/linalg': 'flapack_user_routines.pyf'
non-existing path in 'scipy/linalg': 'interface_gen.py'
non-existing path in 'scipy/linalg': 'generic_clapack.pyf'
non-existing path in 'scipy/linalg': 'interface_gen.py'
non-existing path in 'scipy/linalg': 'src/det.f'
non-existing path in 'scipy/linalg': 'src/lu.f'
non-existing path in 'scipy/linalg': 'src/calc_lwork.f'
non-existing path in 'scipy/linalg': 'atlas_version.c'
non-existing path in 'scipy/linalg': 'iterative/STOPTEST2.f.src'
non-existing path in 'scipy/linalg': 'iterative/getbreak.f.src'
non-existing path in 'scipy/linalg': 'iterative/BiCGREVCOM.f.src'
non-existing path in 'scipy/linalg': 'iterative/BiCGSTABREVCOM.f.src'
non-existing path in 'scipy/linalg': 'iterative/CGREVCOM.f.src'
non-existing path in 'scipy/linalg': 'iterative/CGSREVCOM.f.src'
non-existing path in 'scipy/linalg': 'iterative/GMRESREVCOM.f.src'
non-existing path in 'scipy/linalg': 'iterative/QMRREVCOM.f.src'
non-existing path in 'scipy/linalg': 'iterative/_iterative.pyf.src'
non-existing path in 'scipy/linalg': 'tests'
non-existing path in 'scipy/linsolve': 'tests'
could not resolve pattern in 'scipy/linsolve': 'SuperLU/SRC/*.c'
non-existing path in 'scipy/linsolve': '_zsuperlumodule.c'
non-existing path in 'scipy/linsolve': '_superlu_utils.c'
non-existing path in 'scipy/linsolve': '_superluobject.c'
non-existing path in 'scipy/linsolve': '_dsuperlumodule.c'
non-existing path in 'scipy/linsolve': '_superlu_utils.c'
non-existing path in 'scipy/linsolve': '_superluobject.c'
non-existing path in 'scipy/linsolve': '_csuperlumodule.c'
non-existing path in 'scipy/linsolve': '_superlu_utils.c'
non-existing path in 'scipy/linsolve': '_superluobject.c'
non-existing path in 'scipy/linsolve': '_ssuperlumodule.c'
non-existing path in 'scipy/linsolve': '_superlu_utils.c'
non-existing path in 'scipy/linsolve': '_superluobject.c'
non-existing path in 'scipy/linsolve/umfpack': 'tests'
umfpack_info:
libraries umfpack not found in /usr/local/lib
amd_info:
libraries amd not found in /usr/local/lib
FOUND:
libraries = ['amd']
library_dirs = ['/usr/lib']
swig_opts = ['-I/usr/include']
define_macros = [('SCIPY_AMD_H', None)]
include_dirs = ['/usr/include']
FOUND:
libraries = ['umfpack', 'amd']
library_dirs = ['/usr/lib']
swig_opts = ['-I/usr/include', '-I/usr/include']
define_macros = [('SCIPY_UMFPACK_H', None), ('SCIPY_AMD_H', None)]
include_dirs = ['/usr/include']
non-existing path in 'scipy/linsolve/umfpack': 'umfpack.i'
non-existing path in 'scipy/linsolve/umfpack': 'umfpack.i'
non-existing path in 'scipy/maxentropy': 'tests'
non-existing path in 'scipy/maxentropy': 'examples'
non-existing path in 'scipy/maxentropy': 'doc'
non-existing path in 'scipy/misc': 'lena.dat'
non-existing path in 'scipy/odr': 'odrpack/d_odr.f'
non-existing path in 'scipy/odr': 'odrpack/d_mprec.f'
non-existing path in 'scipy/odr': 'odrpack/dlunoc.f'
non-existing path in 'scipy/odr': 'odrpack/d_lpk.f'
non-existing path in 'scipy/odr': '__odrpack.c'
could not resolve pattern in 'scipy/optimize': 'minpack/*f'
non-existing path in 'scipy/optimize': '_minpackmodule.c'
could not resolve pattern in 'scipy/optimize': 'Zeros/*.c'
non-existing path in 'scipy/optimize': 'zeros.c'
non-existing path in 'scipy/optimize': 'lbfgsb/lbfgsb.pyf'
non-existing path in 'scipy/optimize': 'lbfgsb/routines.f'
non-existing path in 'scipy/optimize': 'tnc/moduleTNC.c'
non-existing path in 'scipy/optimize': 'tnc/tnc.c'
non-existing path in 'scipy/optimize': 'cobyla/cobyla.pyf'
non-existing path in 'scipy/optimize': 'cobyla/cobyla2.f'
non-existing path in 'scipy/optimize': 'cobyla/trstlp.f'
non-existing path in 'scipy/optimize': 'minpack2/minpack2.pyf'
non-existing path in 'scipy/optimize': 'minpack2/dcsrch.f'
non-existing path in 'scipy/optimize': 'minpack2/dcstep.f'
non-existing path in 'scipy/optimize': 'tests'
non-existing path in 'scipy/signal': 'tests'
non-existing path in 'scipy/signal': 'sigtoolsmodule.c'
non-existing path in 'scipy/signal': 'firfilter.c'
non-existing path in 'scipy/signal': 'medianfilter.c'
non-existing path in 'scipy/signal': 'sigtools.h'
non-existing path in 'scipy/signal': 'splinemodule.c'
non-existing path in 'scipy/signal': 'S_bspline_util.c'
non-existing path in 'scipy/signal': 'D_bspline_util.c'
non-existing path in 'scipy/signal': 'C_bspline_util.c'
non-existing path in 'scipy/signal': 'Z_bspline_util.c'
non-existing path in 'scipy/signal': 'bspline_util.c'
non-existing path in 'scipy/sparse': 'tests'
non-existing path in 'scipy/sparse': 'sparsetools/spblas.f.src'
non-existing path in 'scipy/sparse': 'sparsetools/spconv.f.src'
non-existing path in 'scipy/sparse': 'sparsetools/sparsetools.pyf.src'
could not resolve pattern in 'scipy/special': 'c_misc/*.c'
could not resolve pattern in 'scipy/special': 'cephes/*.c'
could not resolve pattern in 'scipy/special': 'mach/*.f'
could not resolve pattern in 'scipy/special': 'amos/*.f'
could not resolve pattern in 'scipy/special': 'toms/*.f'
could not resolve pattern in 'scipy/special': 'cdflib/*.f'
could not resolve pattern in 'scipy/special': 'specfun/*.f'
non-existing path in 'scipy/special': '_cephesmodule.c'
non-existing path in 'scipy/special': 'amos_wrappers.c'
non-existing path in 'scipy/special': 'specfun_wrappers.c'
non-existing path in 'scipy/special': 'toms_wrappers.c'
non-existing path in 'scipy/special': 'cdf_wrappers.c'
non-existing path in 'scipy/special': 'ufunc_extras.c'
non-existing path in 'scipy/special': 'specfun.pyf'
non-existing path in 'scipy/special': 'tests'
non-existing path in 'scipy/stats': 'tests'
could not resolve pattern in 'scipy/stats': 'statlib/*.f'
non-existing path in 'scipy/stats': 'statlib.pyf'
non-existing path in 'scipy/stats': 'futil.f'
non-existing path in 'scipy/stats': 'mvn.pyf'
non-existing path in 'scipy/stats': 'mvndst.f'
non-existing path in 'scipy/ndimage': 'src/nd_image.c'
non-existing path in 'scipy/ndimage': 'src/ni_filters.c'
non-existing path in 'scipy/ndimage': 'src/ni_fourier.c'
non-existing path in 'scipy/ndimage': 'src/ni_interpolation.c'
non-existing path in 'scipy/ndimage': 'src/ni_measure.c'
non-existing path in 'scipy/ndimage': 'src/ni_morphology.c'
non-existing path in 'scipy/ndimage': 'src/ni_support.c'
non-existing path in 'scipy/ndimage': 'src'
non-existing path in 'scipy/ndimage': 'tests'
non-existing path in 'scipy/weave': 'tests'
non-existing path in 'scipy/weave': 'scxx'
non-existing path in 'scipy/weave': 'blitz/blitz'
non-existing path in 'scipy/weave': 'doc'
non-existing path in 'scipy/weave': 'examples'
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
building py_modules sources
building library "dfftpack" sources
building library "linpack_lite" sources
building library "mach" sources
building library "quadpack" sources
building library "odepack" sources
building library "fitpack" sources
building library "superlu_src" sources
building library "odrpack" sources
building library "minpack" sources
building library "rootfind" sources
building library "c_misc" sources
building library "cephes" sources
building library "mach" sources
building library "toms" sources
building library "amos" sources
building library "cdf" sources
building library "specfun" sources
building library "statlib" sources
building extension "scipy.cluster._vq" sources
building extension "scipy.fftpack._fftpack" sources
target build/src.linux-i686-2.5/_fftpackmodule.c does not exist:
Assuming _fftpackmodule.c was generated with "build_src --inplace" command.