[SciPy-user] solved numpy, still problems with scipy

Mihail Sichitiu junky@nc.rr....
Wed May 28 22:44:17 CDT 2008


Abort, abort. I figured (by pure luck) the problem with numpy: I  
reverted to gcc 4.0 (with gcc_select 4.0) and then it compiled fine  
and it installed fine. I ran the test in python and it worked great.
But I still have problems with scipy. It seems to be a problem with  
the final linking (not finding some libraries?). What is lcc_dynamic?  
Alternatively, I'd be happy if I'd find a binary installation for  
PowerPC, Tiger, but I wasn't able to - I'm ultimately trying to  
install Gnu Radio that depends on scipy.

Thanks a lot!

python setup.py build_src build_clib --fcompiler=gnu build_ext -- 
fcompiler=gnu build
mkl_info:
   libraries mkl,vml,guide not found in /Library/Frameworks/ 
Python.framework/Versions/2.5/lib
   libraries mkl,vml,guide not found in /usr/local/lib
   libraries mkl,vml,guide not found in /usr/lib
   libraries mkl,vml,guide not found in /opt/local/lib
   libraries mkl,vml,guide not found in /sw/lib
   NOT AVAILABLE

fftw3_info:
   libraries fftw3 not found in /Library/Frameworks/Python.framework/ 
Versions/2.5/lib
   FOUND:
     libraries = ['fftw3']
     library_dirs = ['/usr/local/lib']
     define_macros = [('SCIPY_FFTW3_H', None)]
     include_dirs = ['/usr/local/include']

djbfft_info:
   NOT AVAILABLE

blas_opt_info:
   FOUND:
     extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
     define_macros = [('NO_ATLAS_INFO', 3)]
     extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/ 
vecLib.framework/Headers']

lapack_opt_info:
   FOUND:
     extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
     define_macros = [('NO_ATLAS_INFO', 3)]
     extra_compile_args = ['-faltivec']

non-existing path in 'scipy/linsolve': 'tests'
umfpack_info:
   libraries umfpack not found in /Library/Frameworks/ 
Python.framework/Versions/2.5/lib
   libraries umfpack not found in /usr/local/lib
   libraries umfpack not found in /usr/lib
   libraries umfpack not found in /opt/local/lib
   libraries umfpack not found in /sw/lib
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- 
packages/numpy/distutils/system_info.py:414: UserWarning:
     UMFPACK sparse solver (http://www.cise.ufl.edu/research/sparse/ 
umfpack/)
     not found. Directories to search for the libraries can be  
specified in the
     numpy/distutils/site.cfg file (section [umfpack]) or by setting
     the UMFPACK environment variable.
   warnings.warn(self.notfounderror.__doc__)
   NOT AVAILABLE

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
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.fftpack.convolve" sources
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.integrate._quadpack" sources
building extension "scipy.integrate._odepack" sources
building extension "scipy.integrate.vode" sources
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.interpolate._fitpack" sources
building extension "scipy.interpolate.dfitpack" sources
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
   adding 'build/src.macosx-10.3-ppc-2.5/scipy/interpolate/dfitpack- 
f2pywrappers.f' to sources.
building extension "scipy.io.numpyio" sources
building extension "scipy.lib.blas.fblas" sources
f2py options: ['skip:', ':']
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
   adding 'build/src.macosx-10.3-ppc-2.5/build/src.macosx-10.3- 
ppc-2.5/scipy/lib/blas/fblas-f2pywrappers.f' to sources.
building extension "scipy.lib.blas.cblas" sources
   adding 'build/src.macosx-10.3-ppc-2.5/scipy/lib/blas/cblas.pyf' to  
sources.
f2py options: ['skip:', ':']
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.lib.lapack.flapack" sources
f2py options: ['skip:', ':']
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.lib.lapack.clapack" sources
   adding 'build/src.macosx-10.3-ppc-2.5/scipy/lib/lapack/ 
clapack.pyf' to sources.
f2py options: ['skip:', ':']
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.lib.lapack.calc_lwork" sources
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.lib.lapack.atlas_version" sources
building extension "scipy.linalg.fblas" sources
   adding 'build/src.macosx-10.3-ppc-2.5/scipy/linalg/fblas.pyf' to  
sources.
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
   adding 'build/src.macosx-10.3-ppc-2.5/build/src.macosx-10.3- 
ppc-2.5/scipy/linalg/fblas-f2pywrappers.f' to sources.
building extension "scipy.linalg.cblas" sources
   adding 'build/src.macosx-10.3-ppc-2.5/scipy/linalg/cblas.pyf' to  
sources.
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.linalg.flapack" sources
   adding 'build/src.macosx-10.3-ppc-2.5/scipy/linalg/flapack.pyf' to  
sources.
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
   adding 'build/src.macosx-10.3-ppc-2.5/build/src.macosx-10.3- 
ppc-2.5/scipy/linalg/flapack-f2pywrappers.f' to sources.
building extension "scipy.linalg.clapack" sources
   adding 'build/src.macosx-10.3-ppc-2.5/scipy/linalg/clapack.pyf' to  
sources.
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.linalg._flinalg" sources
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.linalg.calc_lwork" sources
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.linalg.atlas_version" sources
building extension "scipy.linalg._iterative" sources
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.linsolve._zsuperlu" sources
building extension "scipy.linsolve._dsuperlu" sources
building extension "scipy.linsolve._csuperlu" sources
building extension "scipy.linsolve._ssuperlu" sources
building extension "scipy.linsolve.umfpack.__umfpack" sources
building extension "scipy.odr.__odrpack" sources
building extension "scipy.optimize._minpack" sources
building extension "scipy.optimize._zeros" sources
building extension "scipy.optimize._lbfgsb" sources
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.optimize.moduleTNC" sources
building extension "scipy.optimize._cobyla" sources
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.optimize.minpack2" sources
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.signal.sigtools" sources
building extension "scipy.signal.spline" sources
building extension "scipy.sparse._sparsetools" sources
building extension "scipy.special._cephes" sources
building extension "scipy.special.specfun" sources
f2py options: ['--no-wrap-functions']
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.stats.statlib" sources
f2py options: ['--no-wrap-functions']
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.stats.futil" sources
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
building extension "scipy.stats.mvn" sources
f2py options: []
   adding 'build/src.macosx-10.3-ppc-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-ppc-2.5' to include_dirs.
   adding 'build/src.macosx-10.3-ppc-2.5/scipy/stats/mvn- 
f2pywrappers.f' to sources.
building extension "scipy.ndimage._nd_image" sources
building data_files sources
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
customize GnuFCompiler
Found executable /usr/local/bin/g77
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found
customize GnuFCompiler using build_clib
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
library 'mach' defined more than once, overwriting build_info
{'sources': ['scipy/integrate/mach/d1mach.f', 'scipy/integrate/mach/ 
i1mach.f', 'scipy/integrate/mach/r1mach.f', 'scipy/integrate/mach/ 
xerror.f'], 'config_fc': {'noopt': ('scipy/integrate/setup.pyc', 1)},  
'source_languages': ['f77']}...
with
{'sources': ['scipy/special/mach/d1mach.f', 'scipy/special/mach/ 
i1mach.f', 'scipy/special/mach/r1mach.f', 'scipy/special/mach/ 
xerror.f'], 'config_fc': {'noopt': ('scipy/special/setup.pyc', 1)},  
'source_languages': ['f77']}...
extending extension 'scipy.linsolve._zsuperlu' defined_macros with  
[('USE_VENDOR_BLAS', 1)]
extending extension 'scipy.linsolve._dsuperlu' defined_macros with  
[('USE_VENDOR_BLAS', 1)]
extending extension 'scipy.linsolve._csuperlu' defined_macros with  
[('USE_VENDOR_BLAS', 1)]
extending extension 'scipy.linsolve._ssuperlu' defined_macros with  
[('USE_VENDOR_BLAS', 1)]
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize GnuFCompiler
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found
customize GnuFCompiler using build_ext
building 'scipy.fftpack.convolve' extension
compiling C sources
C compiler: gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/ 
MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double -no-cpp-precomp  
-mno-fused-madd -fPIC -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 - 
Wall -Wstrict-prototypes

compile options: '-DSCIPY_FFTW3_H -I/usr/local/include -Ibuild/ 
src.macosx-10.3-ppc-2.5 -I/Library/Frameworks/Python.framework/ 
Versions/2.5/lib/python2.5/site-packages/numpy/core/include -I/ 
Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c'
gcc: scipy/fftpack/src/convolve.c
gcc: build/src.macosx-10.3-ppc-2.5/scipy/fftpack/convolvemodule.c
/usr/local/bin/g77 -g -Wall -g -Wall -undefined dynamic_lookup - 
bundle build/temp.macosx-10.3-ppc-2.5/build/src.macosx-10.3-ppc-2.5/ 
scipy/fftpack/convolvemodule.o build/temp.macosx-10.3-ppc-2.5/scipy/ 
fftpack/src/convolve.o build/temp.macosx-10.3-ppc-2.5/build/ 
src.macosx-10.3-ppc-2.5/fortranobject.o -L/usr/local/lib -L/usr/local/ 
lib/gcc/powerpc-apple-darwin8.8.0/3.4.6 -Lbuild/temp.macosx-10.3- 
ppc-2.5 -ldfftpack -lfftw3 -lg2c -lcc_dynamic -o build/ 
lib.macosx-10.3-ppc-2.5/scipy/fftpack/convolve.so
/usr/bin/ld: can't locate file for: -lcc_dynamic
collect2: ld returned 1 exit status
/usr/bin/ld: can't locate file for: -lcc_dynamic
collect2: ld returned 1 exit status
error: Command "/usr/local/bin/g77 -g -Wall -g -Wall -undefined  
dynamic_lookup -bundle build/temp.macosx-10.3-ppc-2.5/build/ 
src.macosx-10.3-ppc-2.5/scipy/fftpack/convolvemodule.o build/ 
temp.macosx-10.3-ppc-2.5/scipy/fftpack/src/convolve.o build/ 
temp.macosx-10.3-ppc-2.5/build/src.macosx-10.3-ppc-2.5/ 
fortranobject.o -L/usr/local/lib -L/usr/local/lib/gcc/powerpc-apple- 
darwin8.8.0/3.4.6 -Lbuild/temp.macosx-10.3-ppc-2.5 -ldfftpack -lfftw3  
-lg2c -lcc_dynamic -o build/lib.macosx-10.3-ppc-2.5/scipy/fftpack/ 
convolve.so" failed with exit status 1
Legolas:~/temp/scipy-0.6.0 root#

Your help is highly appreciated,
M.


More information about the SciPy-user mailing list