gcc errors

Chris Pesarchick chrisoh at zoominternet.net
Wed Apr 26 22:34:08 EDT 2006


I installed the Universal Mac OSX binary for Python 2.4.3
When I execute 'python setup.py install' for any of my applications  
that I need to build, I get errors like the following:

gcc -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 -DHAVE_LIBJPEG -DHAVE_LIBZ - 
DWORDS_BIGENDIAN -I/System/Library/Frameworks/Tcl.framework/Headers - 
I/System/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/sw/ 
include -I/Library/Frameworks/Python.framework/Versions/2.4/include - 
I/usr/local/include -I/usr/include -I/Library/Frameworks/ 
Python.framework/Versions/2.4/include/python2.4 -c _imaging.c -o  
build/temp.macosx-10.4-fat-2.4/_imaging.o
gcc: installation problem, cannot exec 'i686-apple-darwin8- 
gcc-4.0.0': No such file or directory


I am on a powerpc and it always thinks I'm on an intel box.
What do I have to do so that it only cares about the powerpc?


Thanks,
Chris





More information about the Python-list mailing list