PIL installation error
Irena Efremenko <[email protected]>
| Newsgroups | gmane.comp.python.image |
|---|---|
| Message-ID | <[email protected]> |
Hi, I get the following error messages trying to install PIL: Imaging-1.1.6->70% sudo python setup.py install running install running build running build_py running build_ext building '_imagingtk' extension creating build/temp.linux-x86_64-2.4 creating build/temp.linux-x86_64-2.4/Tk gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 - Wall -D_FORTIFY_SOURCE=2 -g -fPIC -IlibImaging -I/usr/include -I/usr/ local/include -I/usr/include/python2.4 -c _imagingtk.c -o build/ temp.linux-x86_64-2.4/_imagingtk.o _imagingtk.c:20:16: error: tk.h: No such file or directory _imagingtk.c:23: error: expected ')' before '*' token _imagingtk.c:31: error: expected specifier-qualifier-list before 'Tcl_Interp' _imagingtk.c: In function '_tkinit': _imagingtk.c:37: error: 'Tcl_Interp' undeclared (first use in this function) _imagingtk.c:37: error: (Each undeclared identifier is reported only once _imagingtk.c:37: error: for each function it appears in.) _imagingtk.c:37: error: 'interp' undeclared (first use in this function) _imagingtk.c:45: error: expected expression before ')' token _imagingtk.c:51: error: 'TkappObject' has no member named 'interp' _imagingtk.c:55: warning: implicit declaration of function 'TkImaging_Init' error: command 'gcc' failed with exit status 1 I have Python 2.4 installed. Please, help. Thanks, ****** Dr. Irena Efremenko Department of Organic Chemistry Weizmann Institute of Science 76100 Rehovot, Israel Phone: +972 8 9343680 FAX: +972 8 9344142 Email: [email protected] ****** _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig