[SciPy-user] problem with weave tutorial

James Phillips zunzun@zunzun....
Tue May 27 14:41:45 CDT 2008


At the very bottom of the long, long list of errors and warnings is:

scipy.weave.build_tools
>
> .CompileError: error: Command "g++ -arch ppc -arch i386 -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double
> -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3
> -I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave
> -I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/scxx
> -I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include
> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c
> /Users/garyrob/.python25_compiled/sc_119f07fd9a656915569734d041f6ace92.cpp
> -o
> /var/folders/S5/S5m9tMBYH-KuPAoCKwCHQE+++TI/-Tmp-/garyrob/python25_intermediate/compiler_0ce8a1fa01e8914c0a4825c7c67de6c6/Users/garyrob/.python25_compiled/sc_119f07fd9a656915569734d041f6ace92.o"
> failed with exit status 1


You can try from a command prompt or user shell the actual command to the
compiler from that error message:

g++ -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u
>
> .sdk -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
> -fno-common -dynamic -DNDEBUG -g -O3
> -I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave
> -I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/scxx
> -I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include
> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c
> /Users/garyrob/.python25_compiled/sc_119f07fd9a656915569734d041f6ace92.cpp
> -o
> /var/folders/S5/S5m9tMBYH-KuPAoCKwCHQE+++TI/-Tmp-/garyrob/python25_intermediate/compiler_0ce8a1fa01e8914c0a4825c7c67de6c6/Users/garyrob/.python25_compiled/sc_119f07fd9a656915569734d041f6ace92.o


and see what the compiler tells you.

     James Phillips
     http://zunzun.com


2008/5/27 Gary Robinson <garyrob@mac.com>:

> I installed scipy yesterday...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20080527/edee010e/attachment.html 


More information about the SciPy-user mailing list