[Image-SIG] installing PIL error with gcc

Fredrik Lundh fredrik at pythonware.com
Fri Jul 14 12:03:41 CEST 2006


"Thomas" wrote:

> 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
> type
> 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
binaries.

any reason you cannot just use a prebuilt PIL version for your platform ?

    http://pythonmac.org/packages/

(also see http://www.python.org/download/mac/ )

</F> 





More information about the Image-SIG mailing list