[Image-SIG] installing PIL error with gcc
fredrik at pythonware.com
Fri Jul 14 12:03:41 CEST 2006
> libImaging/ImPlatform.h:10: Python.h: No such file or directory
> libImaging/ImPlatform.h:14: #error Sorry, this library requires support
> for ANSI prototypes.
> libImaging/ImPlatform.h:17: #error Sorry, this library requires ANSI
> header files.
> libImaging/ImPlatform.h:55: #error Cannot find required 32-bit integer
> libImaging/LzwDecode.c:33: stdio.h: No such file or directory
> libImaging/LzwDecode.c:34: stdlib.h: No such file or directory
> error: command 'gcc' failed with exit status 1
> I also tried gcc2 on my machine to get similar results
to be able to compile C programs, you need a lot more than just the compiler
any reason you cannot just use a prebuilt PIL version for your platform ?
(also see http://www.python.org/download/mac/ )
More information about the Image-SIG