Dear Python Image SIG mailing list I am having little difficulty installing Python Imaging Library 1.1.5 Source Kit on my Mac Powerbook G4 (under MacOS 10.4).
OS details: > uname -a Darwin dhcp04.lco.cl 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh powerpc Running the python setup script halts when it tries to find a gcc compiler at /usr/local/gnu/bin/gcc: > python setup.py install running install running build running build_py running build_ext --- using frameworks at /System/Library/Frameworks building '_imaging' extension /usr/local/gnu/bin/gcc -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - 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/usr/stsci/pyssg/ Python-2.3.3/include -I/usr/local/include -I/usr/include -I/usr/stsci/ pyssg/Python-2.3.3/include/python2.3 -c libImaging/LzwDecode.c -o build/temp.darwin-8.7.0-Power_Macintosh-2.3/libImaging/LzwDecode.o unable to execute /usr/local/gnu/bin/gcc: No such file or directory error: command '/usr/local/gnu/bin/gcc' failed with exit status 1 I have tried aliasing this (/usr/local/gnu/) to my normal gcc (/usr/ local/gcc4.0/), but other problems arise: > python setup.py install running install running build running build_py running build_ext --- using frameworks at /System/Library/Frameworks building '_imaging' extension /usr/local/gnu/bin/gcc -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - 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/usr/stsci/pyssg/ Python-2.3.3/include -I/usr/local/include -I/usr/include -I/usr/stsci/ pyssg/Python-2.3.3/include/python2.3 -c libImaging/LzwDecode.c -o build/temp.darwin-8.7.0-Power_Macintosh-2.3/libImaging/LzwDecode.o powerpc-apple-darwin8-gcc-4.0.3: unrecognized option '-no-cpp-precomp' cc1: error: unrecognized command line option "-Wno-long-double" error: command '/usr/local/gnu/bin/gcc' failed with exit status 1 I cannot find any mention of a gcc path in the setup script so am unsure where this reference to usr/local/gnu/bin/gcc is coming from! I assume that this is a Framework problem, but am unsure how to deal with that. Finally - I also tried using the Mac installer from darwinports, but after running it I am still unable to "import Images" within python. I'd be most grateful for any help, David =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- David Floyd Tel: +1 410 338 4354 Space Telescope Science Institute Fax: +1 410 338 5075 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig
