Thread: gcc compiling
View Single Post

jdgti's Avatar
Member Since: Mar 14, 2005
Location: Atlanta, GA
Posts: 443
jdgti will become famous soon enough
Mac Specs: 17" Macbook Pro Unibody 2.66 Ghz and Powerbook G4 1.67 GHz 2.0GB RAM

jdgti is offline
I am trying to install some extension files for python to allow it to read all types of website characters, not just the standard ones. Below is my problem.

sfe04:~/Desktop/cjkcodecs-1.1.1 username$ python install
running install
running build
running build_py
running build_ext
building 'cjkcodecs._multibytecodec' extension
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 -O3 -I/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c src/multibytecodec.c -o build/temp.macosx-10.4-fat-2.4/src/multibytecodec.o
unable to execute gcc: No such file or directory
error: command 'gcc' failed with exit status 1
I have installed Xcode and the developer tools given by the ADC website and so I assume I have the GNU gcc compiler and all the flags, but apparently not.

So basically, right now I am googling how to get the gcc compiler tags listed above in my gcc compiler. I am not really sure how to check if I have all of them once I download and install another gcc package however, so I am sort of stuck. Please let me know if you have had this problem and know how to fix it.

Thanks in Advance,

QUOTE Thanks