Imaging library woes

Jeff Blaine jblaine at shell2.shore.net
Thu Jan 13 13:16:31 EST 2000


Tell your compiler -I/usr/local/include/tk8.0

Simply using -I/usr/local/include does not state 'search for include files
recursively under that directory'.

>--------------------begin my pain-----------------------
>doug:~/Imaging-1.0# make
>gcc -fpic  -IlibImaging -I/usr/local/include -I/usr/local/include
>-DWITH_TKINTER -I/usr/local/include -g -O2
>-I/usr/local/include/python1.5
>-I/usr/local/include/python1.5 -DHAVE_CONFIG_H -c ./_imaging.c
>./_imaging.c:63: warning: `WITH_TKINTER' redefined
>*Initialization*:1: warning: this is the location of the previous
>definition
>./_imaging.c:2303: tk.h: No such file or directory
>*** Error code 1
>
>--------------------end my pain--------------------------
>tk.h does indeed exist:
>
>/usr/local/include/tk8.0/tk.h



More information about the Python-list mailing list