|
From: Ranjit C. <rjc...@gm...> - 2010-06-23 00:03:44
|
I just tried to build pysparse 1.1.1 on my mac running snow leopard and it
failed with the output below. Any ideas on how to fix this? Thanks,:
running build
running build_py
creating build/lib.macosx-10.3-fat-2.6
creating build/lib.macosx-10.3-fat-2.6/pysparse
copying Lib/__init__.py -> build/lib.macosx-10.3-fat-2.6/pysparse
copying Lib/__version__.py -> build/lib.macosx-10.3-fat-2.6/pysparse
copying Lib/directSolver.py -> build/lib.macosx-10.3-fat-2.6/pysparse
copying Lib/itsolvers_util.py -> build/lib.macosx-10.3-fat-2.6/pysparse
copying Lib/poisson.py -> build/lib.macosx-10.3-fat-2.6/pysparse
copying Lib/poisson_vec.py -> build/lib.macosx-10.3-fat-2.6/pysparse
copying Lib/pysparseMatrix.py -> build/lib.macosx-10.3-fat-2.6/pysparse
copying Lib/pysparseSuperLU.py -> build/lib.macosx-10.3-fat-2.6/pysparse
copying Lib/pysparseUmfpack.py -> build/lib.macosx-10.3-fat-2.6/pysparse
copying Lib/sparray.py -> build/lib.macosx-10.3-fat-2.6/pysparse
copying Lib/sparseMatrix.py -> build/lib.macosx-10.3-fat-2.6/pysparse
copying Lib/spmatrix_util.py -> build/lib.macosx-10.3-fat-2.6/pysparse
running build_ext
building 'pysparse.spmatrix' extension
creating build/temp.macosx-10.3-fat-2.6
creating build/temp.macosx-10.3-fat-2.6/Src
gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -DNUMPY=1
-DLENFUNC_OK=1 -IInclude
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c
Src/spmatrixmodule.c -o build/temp.macosx-10.3-fat-2.6/Src/spmatrixmodule.o
In file included from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4,
from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85,
from Src/spmatrixmodule.c:1:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h:
No such file or directory
In file included from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4,
from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85,
from Src/spmatrixmodule.c:1:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h:
No such file or directory
lipo: can't figure out the architecture type of:
/var/folders/0U/0UxwF0nGHwaJh1DEleDsOE+++TM/-Tmp-//ccTcRNHm.out
error: command 'gcc-4.0' failed with exit status 1
|