[SciPy-dev] Error building from svn on Intel Macs.

Christopher Hanley chanley@stsci....
Tue Jun 3 22:33:30 CDT 2008


David Cournapeau wrote:
> It does not look like a swig problem per se. From the limited log, I 
> have the impression that scipy is trying to build umfpack solver, 
> whereas the (optional) umfpack dependencies are not met.
> 
> Could you give us the full log (at least the configuration step, where 
> it is looking for umfpack ?)
> 
> thanks,
> 
> David
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev

Sure thing, thanks!  I do not use a site.cfg file and am doing a simple 
"python setup.py install".

Here is some compiler info as well in case it is needed:

[redcedar:~/dev/scipy] chanley% gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure 
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man 
--enable-languages=c,objc,c++,obj-c++ 
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ 
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib 
--build=i686-apple-darwin9 --with-arch=apple --with-tune=generic 
--host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)

Using built-in specs.
Target: i686-apple-darwin9
Configured with: ../gcc-4.2.2/configure --prefix=/sw 
--prefix=/sw/lib/gcc4.2 --mandir=/sw/share/man --infodir=/sw/share/info 
--enable-languages=c,c++,fortran,objc,java --with-arch=nocona 
--with-tune=generic --host=i686-apple-darwin9 --with-gmp=/sw 
--with-libiconv-prefix=/sw --with-system-zlib 
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
Thread model: posix
gcc version 4.2.2

--

Build log:

Warning: No configuration returned, assuming unavailable.
mkl_info:
   libraries mkl,vml,guide not found in /usr/stsci/pyssgdev/Python-2.5.1/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 /sw/lib
   NOT AVAILABLE

fftw3_info:
   libraries fftw3 not found in /usr/stsci/pyssgdev/Python-2.5.1/lib
   libraries fftw3 not found in /usr/local/lib
   libraries fftw3 not found in /usr/lib
   FOUND:
     libraries = ['fftw3']
     library_dirs = ['/sw/lib']
     define_macros = [('SCIPY_FFTW3_H', None)]
     include_dirs = ['/sw/include']

djbfft_info:
   FOUND:
     extra_objects = ['/sw/lib/djbfft.a']
     define_macros = [('SCIPY_DJBFFT_H', None)]
     include_dirs = ['/sw/include']

blas_opt_info:
   FOUND:
     extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
     define_macros = [('NO_ATLAS_INFO', 3)]
     extra_compile_args = ['-msse3', 
'-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 = ['-msse3']

umfpack_info:
   libraries umfpack not found in /usr/stsci/pyssgdev/Python-2.5.1/lib
   libraries umfpack not found in /usr/local/lib
   libraries umfpack not found in /usr/lib
amd_info:
   libraries amd not found in /usr/stsci/pyssgdev/Python-2.5.1/lib
   libraries amd not found in /usr/local/lib
   libraries amd not found in /usr/lib
   FOUND:
     libraries = ['amd']
     library_dirs = ['/sw/lib']

   FOUND:
     libraries = ['umfpack', 'amd']
     library_dirs = ['/sw/lib']

running install
running build
running scons
customize UnixCCompiler
Found executable /usr/bin/cc
customize NAGFCompiler
Could not locate executable f95
Found executable /sw/bin/gfortran
nag: no Fortran 90 compiler found
Found executable /usr/bin/ranlib
nag: no Fortran 90 compiler found
nag: no Fortran 90 compiler found
customize AbsoftFCompiler
Could not locate executable f90
absoft: no Fortran 90 compiler found
absoft: no Fortran 90 compiler found
absoft: no Fortran 90 compiler found
absoft: no Fortran 90 compiler found
absoft: no Fortran 90 compiler found
absoft: no Fortran 90 compiler found
customize IBMFCompiler
Could not locate executable xlf90
ibm: no Fortran 90 compiler found
Could not locate executable xlf95
ibm: no Fortran 90 compiler found
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
intel: no Fortran 90 compiler found
intel: no Fortran 90 compiler found
customize GnuFCompiler
gnu: no Fortran 90 compiler found
Found executable /sw/bin/g77
gnu: no Fortran 90 compiler found
customize Gnu95FCompiler
Found executable /sw/bin/gfortran
customize Gnu95FCompiler
customize UnixCCompiler
customize UnixCCompiler using scons
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
creating build
creating build/src.macosx-10.3-i386-2.5
creating build/src.macosx-10.3-i386-2.5/scipy
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 "odrpack" sources
building library "minpack" sources
building library "rootfind" sources
building library "superlu_src" sources
building library "arpack" 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.cluster._hierarchy_wrap" sources
building extension "scipy.fftpack._fftpack" sources


...


"build/src.macosx-10.3-i386-2.5/build/src.macosx-10.3-i386-2.5/scipy/sparse/linalg/isolve/iterative/_iterativemodule.c"
   adding 'build/src.macosx-10.3-i386-2.5/fortranobject.c' to sources.
   adding 'build/src.macosx-10.3-i386-2.5' to include_dirs.
building extension "scipy.sparse.linalg.dsolve._zsuperlu" sources
building extension "scipy.sparse.linalg.dsolve._dsuperlu" sources
building extension "scipy.sparse.linalg.dsolve._csuperlu" sources
building extension "scipy.sparse.linalg.dsolve._ssuperlu" sources
building extension "scipy.sparse.linalg.dsolve.umfpack.__umfpack" sources
creating build/src.macosx-10.3-i386-2.5/scipy/sparse/linalg/dsolve
creating build/src.macosx-10.3-i386-2.5/scipy/sparse/linalg/dsolve/umfpack
   adding 'scipy/sparse/linalg/dsolve/umfpack/umfpack.i' to sources.
swig: scipy/sparse/linalg/dsolve/umfpack/umfpack.i
swig -python -o 
build/src.macosx-10.3-i386-2.5/scipy/sparse/linalg/dsolve/umfpack/_umfpack_wrap.c 
-outdir 
build/src.macosx-10.3-i386-2.5/scipy/sparse/linalg/dsolve/umfpack 
scipy/sparse/linalg/dsolve/umfpack/umfpack.i
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:192: Error: Unable to find 
'umfpack.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:193: Error: Unable to find 
'umfpack_solve.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:194: Error: Unable to find 
'umfpack_defaults.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:195: Error: Unable to find 
'umfpack_triplet_to_col.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:196: Error: Unable to find 
'umfpack_col_to_triplet.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:197: Error: Unable to find 
'umfpack_transpose.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:198: Error: Unable to find 
'umfpack_scale.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:200: Error: Unable to find 
'umfpack_report_symbolic.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:201: Error: Unable to find 
'umfpack_report_numeric.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:202: Error: Unable to find 
'umfpack_report_info.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:203: Error: Unable to find 
'umfpack_report_control.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:215: Error: Unable to find 
'umfpack_symbolic.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:216: Error: Unable to find 
'umfpack_numeric.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:225: Error: Unable to find 
'umfpack_free_symbolic.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:226: Error: Unable to find 
'umfpack_free_numeric.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:248: Error: Unable to find 
'umfpack_get_lunz.h'
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:272: Error: Unable to find 
'umfpack_get_numeric.h'
error: command 'swig' failed with exit status 1


There is a full build log waiting for the scipy list moderator for 
approval.  Unfortunately the full log is too big for the list.

Thanks,
Chris



-- 
Christopher Hanley
Systems Software Engineer
Space Telescope Science Institute
3700 San Martin Drive
Baltimore MD, 21218
(410) 338-4338


More information about the Scipy-dev mailing list