[Image-SIG] (no subject)

Hunter Martin huntermartin at mac.com
Sat Apr 18 02:54:43 CEST 2009


Hello,

I am trying to install PIL onto my Macbook. I am running the most  
update-to-date version of Leopard. I am following your instructions  
provided with 1.1.6. When I go to run python setup.py build_ext -i, I  
get the following info:

running build_ext
--- using frameworks at /System/Library/Frameworks
building '_imaging' extension
creating build
creating build/temp.macosx-10.5-i386-2.5
creating build/temp.macosx-10.5-i386-2.5/libImaging
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused- 
madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes - 
DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe - 
DHAVE_LIBZ -IlibImaging -I/System/Library/Frameworks/Python.framework/ 
Versions/2.5/include -I/usr/include -I/System/Library/Frameworks/ 
Python.framework/Versions/2.5/include/python2.5 -c _imaging.c -o build/ 
temp.macosx-10.5-i386-2.5/_imaging.o
unable to execute gcc: No such file or directory
error: command 'gcc' failed with exit status 1

When I run python selftest.py, I get the following:
Traceback (most recent call last):
   File "selftest.py", line 11, in <module>
     import ImageMath
   File "PIL/ImageMath.py", line 19, in <module>
     import _imagingmath
ImportError: No module named _imagingmath


What am I doing wrong?

Thank you.


More information about the Image-SIG mailing list