[Image-SIG] Compiling PIL on the MacBook Pro
fredrik at pythonware.com
Thu Apr 20 17:36:18 CEST 2006
Mauro Cherubini wrote:
> sorry for posting this, maybe, silly request but my knowledge of gcc
> (et al) is close to zero.
> I am trying to compile PIL (Python Imaging Library) on my new machine.
> I tried at first to use the standard way to call the build process
> with no luck. Then, looking around I found the latest post of this
> list where it was possible to specify the compiler to use. So I did
> but again with no luck.
> Please see below for the transcripts.
> I have a clean install of OS X 10.4.6 which runs by default Python
> 2.3.5, and I am trying to install PIL 1.1.5.
looks like you don't have the Python header files:
> libImaging/ImPlatform.h:10:20: error: Python.h: No such file or
without them, you cannot build any Python C extensions, no matter what
compiler you have:
there's no shortage of mac folks on this list, so someone will probably sort
this out for you soonish. if not, try asking over at the pythonmac list:
(or donate a macbook to the effbot.org headquarters, and we'll sort this
out for you ;-)
More information about the Image-SIG