[SciPy-user] can't build scipy on mac os 10.5.5 intel

gdahl@cs.toront... gdahl@cs.toront...
Thu Sep 18 19:26:01 CDT 2008

Hi everyone.
I am not sure if my other email account is working so I apologize if this
already hit the list.
I get the error below when I run python setup.py
build with the latest SVN version of scipy.
I have numpy (latest svn) 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.

This is the command I ran:
sudo python setup.py build_src build_clib --fcompiler=gnu95 build_ext
--fcompiler=gnu95 build

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

$ sudo python setup.py build_src build_clib --fcompiler=gnu95
build_ext --fcompiler=gnu95 build
building extension "scipy.sparse.linalg.dsolve.umfpack.__umfpack" sources
  adding 'scipy/sparse/linalg/dsolve/umfpack/umfpack.i' to sources.
swig: scipy/sparse/linalg/dsolve/umfpack/umfpack.i
swig -python -o
-outdir build/src.macosx-10.3-i386-2.5/scipy/sparse/linalg/dsolve/umfpack
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:192: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:193: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:194: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:195: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:196: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:197: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:198: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:200: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:201: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:202: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:203: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:215: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:216: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:225: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:226: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:248: Error: Unable to find
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:272: Error: Unable to find
error: command 'swig' failed with exit status 1

More information about the SciPy-user mailing list