Yeah, thanks, your right I typed it in wrong, but it still isn't working, though it did build for longer this time before failing.
This is the error code this time. It talks about something being depreciated in numpy. Thank you so much for your help with this. Eddy compiling C sources C compiler: clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk compile options: '-DNO_ATLAS_INFO=3 -DUSE_VENDOR_BLAS=1 -I/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m -c' extra options: '-msse3' clang: scipy/sparse/linalg/dsolve/_superlumodule.c In file included from scipy/sparse/linalg/dsolve/_superlumodule.c:18: In file included from /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/numpy/core/include/numpy/arrayobject.h:15: In file included from /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/numpy/core/include/numpy/ndarrayobject.h:17: In file included from /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/numpy/core/include/numpy/ndarraytypes.h:1972: /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API" [-W#warnings] #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API" ^ scipy/sparse/linalg/dsolve/_superlumodule.c:268:9: error: non-void function 'PyInit__superlu' should return a value [-Wreturn-type] return; ^ 1 warning and 1 error generated. In file included from scipy/sparse/linalg/dsolve/_superlumodule.c:18: In file included from /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/numpy/core/include/numpy/arrayobject.h:15: In file included from /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/numpy/core/include/numpy/ndarrayobject.h:17: In file included from /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/numpy/core/include/numpy/ndarraytypes.h:1972: /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API" [-W#warnings] #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API" ^ scipy/sparse/linalg/dsolve/_superlumodule.c:268:9: error: non-void function 'PyInit__superlu' should return a value [-Wreturn-type] return; ^ 1 warning and 1 error generated. error: Command "clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -DNO_ATLAS_INFO=3 -DUSE_VENDOR_BLAS=1 -I/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m -c scipy/sparse/linalg/dsolve/_superlumodule.c -o build/temp.macosx-10.6-intel-3.2/scipy/sparse/linalg/dsolve/_superlumodule.o -msse3" failed with exit status 1 ----- Original Message ----- From: Ned Deily <n...@acm.org> To: pythonmac-sig@python.org Cc: Sent: Friday, 23 March 2012, 14:23 Subject: Re: [Pythonmac-SIG] Building numpy/scipy for python3 on MacOS Lion [Please keep the discussion on the list. Thanks!] On Mar 23, 2012, at 11:46 , Eddy Barratt wrote: > Thanks Ned, that's great, now I can get numpy to import so I'm definitely > getting somewhere. But scipy still won't build, it 'failed with exit status > 1'. The error message included the command about LDSHARE in it's final > paragraph. I've included the error message at the end of this email, starting > from the part where it appears to have run in to issues. > > I have Xcode 4.2.1. > > Thanks for your help. Eddy > > Error Message: > > compiling C sources > C compiler: clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch > x86_64 -Os -w -pipe -march=core2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall > -Wstrict-prototypes > > compile options: > '-I/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include > > -I/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include > > -I/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/include/python2.7 > -c' > clang: scipy/cluster/src/vq_module.c > clang: scipy/cluster/src/vq.c > clang -bundle -undefined dynamic_lookup -arch i386 x86_64 > -isysroot/Developer/SDKs/MacOSX10.6.sdk -g > build/temp.macosx-10.5-intel-2.7/scipy/cluster/src/vq_module.o > build/temp.macosx-10.5-intel-2.7/scipy/cluster/src/vq.o > -Lbuild/temp.macosx-10.5-intel-2.7 -o > build/lib.macosx-10.5-intel-2.7/scipy/cluster/_vq.so > clang: error: no such file or directory: 'x86_64' > clang: error: no such file or directory: 'x86_64' > error: Command "clang -bundle -undefined dynamic_lookup -arch i386 x86_64 > -isysroot/Developer/SDKs/MacOSX10.6.sdk -g > build/temp.macosx-10.5-intel-2.7/scipy/cluster/src/vq_module.o > build/temp.macosx-10.5-intel-2.7/scipy/cluster/src/vq.o > -Lbuild/temp.macosx-10.5-intel-2.7 -o > build/lib.macosx-10.5-intel-2.7/scipy/cluster/_vq.so" failed with exit status > 1 It looks like a copy and paste error. Note the environment variable settings I suggested were: $ export CC=clang $ export LDSHARED='clang -bundle -undefined dynamic_lookup \ -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -g' But in the Distutils output I see: "-arch i386 x86_64" -- Ned Deily n...@acm.org -- [] _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG