[Image-SIG] installing PIL error with gcc

Bob Ippolito bob at redivi.com
Fri Jul 14 19:24:15 CEST 2006


On Jul 13, 2006, at 10:31 PM, Thomas wrote:

> I Am trying to install PIL on my mac 10.3 . I have trouble building .
> it complained about missing gcc so I downloaded
> xcode_legacy_7k594_0611959.dmg and installed the gcc3.1.pkg.
> created a sym link for gcc3 to gcc

You should just be running the normal Xcode installer, not messing  
with individual packages. You definitely shouldn't be creating symlinks.

> 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

This means you didn't install Xcode properly. You don't have ANY  
headers!

-bob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/image-sig/attachments/20060714/ddfa2c0c/attachment.htm 


More information about the Image-SIG mailing list