Hi All,

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

now I am getting the following error


Fred-Daggs-Computer:~/Desktop/Imaging-1.1.5 freddagg$ python setup.py install
running install
running build
running build_py
running build_ext
building '_imaging' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -DWORDS_BIGENDIAN -IlibImaging -I/sw/include -I/usr/local/include -I/usr/include -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -c libImaging/LzwDecode.c -o build/temp.darwin-7.3.1-Power_Macintosh-2.3/libImaging/LzwDecode.o
In file included from libImaging/Imaging.h:14,
from libImaging/LzwDecode.c:31:
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


Thanks Thomas
</x-tad-bigger>
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to