[SciPy-user] trouble building scipy on mac os 10.5 intel

George Dahl george.dahl@gmail....
Mon Sep 15 13:01:26 CDT 2008

Hi everyone.  I get the following result when I run python setup.py
build for scipy 0.6.0.
I have numpy and it works in python2.5, which is the version of python
I want to use scipy from.  I have gcc 4.0.1 and gfortran 4.2.1.

I have pasted some of the output of python setup.py build below.  I
don't really know what I am doing, but I would really like to get
scipy working and I would appreciate any help anyone can give me!  I
looked around in the archives with google a bit, but nothing seemed to
deal with my situation exactly, hopefully I didn't miss anything.
- George

scipy-0.6.0$ python setup.py build
  bnrm2,resid,info = dstoptest2(r,b,bnrm2,tol,info)
Constructing wrapper function "cstoptest2"...
 bnrm2,resid,info = cstoptest2(r,b,bnrm2,tol,info)
Constructing wrapper function "zstoptest2"...
 bnrm2,resid,info = zstoptest2(r,b,bnrm2,tol,info)
Wrote C/API module "_iterative" to file
 adding 'build/src.macosx-10.3-fat-2.5/fortranobject.c' to sources.
 adding 'build/src.macosx-10.3-fat-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
creating build/src.macosx-10.3-fat-2.5/scipy/linsolve
creating build/src.macosx-10.3-fat-2.5/scipy/linsolve/umfpack
 adding 'scipy/linsolve/umfpack/umfpack.i' to sources.
swig: scipy/linsolve/umfpack/umfpack.i
swig -python -o
-outdir build/src.macosx-10.3-fat-2.5/scipy/linsolve/umfpack
scipy/linsolve/umfpack/umfpack.i:192: Error: Unable to find 'umfpack.h'
scipy/linsolve/umfpack/umfpack.i:193: Error: Unable to find 'umfpack_solve.h'
scipy/linsolve/umfpack/umfpack.i:194: Error: Unable to find 'umfpack_defaults.h'
scipy/linsolve/umfpack/umfpack.i:195: Error: Unable to find
scipy/linsolve/umfpack/umfpack.i:196: Error: Unable to find
scipy/linsolve/umfpack/umfpack.i:197: Error: Unable to find
scipy/linsolve/umfpack/umfpack.i:198: Error: Unable to find 'umfpack_scale.h'
scipy/linsolve/umfpack/umfpack.i:200: Error: Unable to find
scipy/linsolve/umfpack/umfpack.i:201: Error: Unable to find
scipy/linsolve/umfpack/umfpack.i:202: Error: Unable to find
scipy/linsolve/umfpack/umfpack.i:203: Error: Unable to find
scipy/linsolve/umfpack/umfpack.i:215: Error: Unable to find 'umfpack_symbolic.h'
scipy/linsolve/umfpack/umfpack.i:216: Error: Unable to find 'umfpack_numeric.h'
scipy/linsolve/umfpack/umfpack.i:225: Error: Unable to find
scipy/linsolve/umfpack/umfpack.i:226: Error: Unable to find
scipy/linsolve/umfpack/umfpack.i:248: Error: Unable to find 'umfpack_get_lunz.h'
scipy/linsolve/umfpack/umfpack.i:272: Error: Unable to find
error: command 'swig' failed with exit status 1

More information about the SciPy-user mailing list