Pykota, Python Imaging Library install problem
I'm trying install Pykota, who have experience on installing this Python Imaging Library?
[root@web Imaging-1.1.5]# python setup.py install running install running build running build_py running build_ext building '_imaging' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32 -march=i386 -mtune= pentium4 -D_GNU_SOURCE -fPIC -fPIC -DHAVE_LIBZ -IlibImaging -I/usr/include -I/us r/local/include -I/usr/include/python2.3 -c libImaging/Blend.c -o build/temp.lin ux-i686-2.3/libImaging/Blend.o In file included from libImaging/Imaging.h:14, from libImaging/Blend.c:19: libImaging/ImPlatform.h:10:20: Python.h: No such file or directory libImaging/ImPlatform.h:14:2: #error Sorry, this library requires support for AN SI prototypes. libImaging/ImPlatform.h:17:2: #error Sorry, this library requires ANSI header fi les. libImaging/ImPlatform.h:55:2: #error Cannot find required 32-bit integer type In file included from libImaging/Blend.c:19: libImaging/Imaging.h:90: error: syntax error before "INT32" libImaging/Imaging.h:90: warning: no semicolon at end of struct or union libImaging/Imaging.h:102: error: syntax error before '}' token libImaging/Imaging.h:263: error: syntax error before "INT32" libImaging/Imaging.h:263: warning: no semicolon at end of struct or union libImaging/Imaging.h:263: warning: data definition has no type or storage class libImaging/Imaging.h:263: warning: data definition has no type or storage class libImaging/Imaging.h:264: error: syntax error before '*' token libImaging/Imaging.h:265: warning: data definition has no type or storage class libImaging/Imaging.h:391: error: syntax error before "ImagingCRC32" libImaging/Imaging.h:391: error: syntax error before "crc" libImaging/Imaging.h:391: warning: data definition has no type or storage class libImaging/Blend.c: In function `ImagingBlend': libImaging/Blend.c:29: error: dereferencing pointer to incomplete type libImaging/Blend.c:31: error: dereferencing pointer to incomplete type libImaging/Blend.c:31: error: dereferencing pointer to incomplete type libImaging/Blend.c:32: error: dereferencing pointer to incomplete type libImaging/Blend.c:32: error: dereferencing pointer to incomplete type libImaging/Blend.c:33: error: dereferencing pointer to incomplete type libImaging/Blend.c:33: error: dereferencing pointer to incomplete type libImaging/Blend.c:34: error: dereferencing pointer to incomplete type libImaging/Blend.c:34: error: dereferencing pointer to incomplete type libImaging/Blend.c:43: error: dereferencing pointer to incomplete type libImaging/Blend.c:43: error: dereferencing pointer to incomplete type libImaging/Blend.c:43: error: dereferencing pointer to incomplete type libImaging/Blend.c:45: error: `NULL' undeclared (first use in this function) libImaging/Blend.c:45: error: (Each undeclared identifier is reported only once libImaging/Blend.c:45: error: for each function it appears in.) libImaging/Blend.c:51: error: dereferencing pointer to incomplete type libImaging/Blend.c:52: error: dereferencing pointer to incomplete type libImaging/Blend.c:53: error: dereferencing pointer to incomplete type libImaging/Blend.c:54: error: dereferencing pointer to incomplete type libImaging/Blend.c:55: error: dereferencing pointer to incomplete type libImaging/Blend.c:61: error: dereferencing pointer to incomplete type libImaging/Blend.c:62: error: dereferencing pointer to incomplete type libImaging/Blend.c:63: error: dereferencing pointer to incomplete type libImaging/Blend.c:64: error: dereferencing pointer to incomplete type libImaging/Blend.c:65: error: dereferencing pointer to incomplete type error: command 'gcc' failed with exit status 1 [root@web Imaging-1.1.5]# |
All times are GMT -5. The time now is 10:10 PM. |