[Image-SIG] PIL installation on Snow Leopard

Christopher Brewster cbrewster at gmail.com
Sun Dec 20 17:17:08 CET 2009

(my apologies in advance)

On a clean install on Snow Leopard, I have installed:
- python 2.6.4 using the Mac installer on python.org
- In accordance with instructions here: http://stackoverflow.com/questions/1438270/installing-python-imaging-library-pil-on-snow-leopard-with-updated-python-2-6-2
I issues the command export CC=/usr/bin/gcc-4.0

- libjpeg as per http://proteus-tech.com/blog/cwt/install-pil-in-snow-leopard/
- Freetype2 as per their website http://www.freetype.org/index2.html

and now PIL but I get the following errors which I do not know how to interpret:
Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.4u.sdk
Please check your Xcode installation
gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined dynamic_lookup build/temp.macosx-10.3-fat-2.6/_imagingtk.o build/temp.macosx-10.3-fat-2.6/Tk/tkImaging.o -L/usr/local/lib -L/Library/Frameworks/Python.framework/Versions/2.6/lib -L/usr/lib -o build/lib.macosx-10.3-fat-2.6/_imagingtk.so -framework Tcl -framework Tk
ld: framework not found Tcl
collect2: ld returned 1 exit status
ld: framework not found Tcl
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/Md/Md7dPPzaGPGQNU+9szQi3++++TI/-Tmp-//cc9P9TtC.out (No such file or directory)
error: command 'gcc-4.0' failed with exit status 1

Any advice would be appreciated.


Operations and Information Management Group,
Aston Business School, Aston University,

More information about the Image-SIG mailing list