Does Anybody Know How To Get Tkinter Working??

Daniel Larsson daniell at servicefactory.se
Sun Nov 25 08:25:37 EST 2001


Looks like you need to figure out where your X11 include files are
stored, and then run configure with --x-includes=DIR / --x-libraries=DIR

Ben Ocean wrote:

> Hi;
> This is my third request for help and I'm hoping someone will respond 
> this time :)
> 
> I just configured Tcl--itworks--and I went to configure tk (both latest 
> stable distros) on my RH71 box and ran into all sorts of errors on 
> *make*. Both installations are in /usr/lib and I'm in as root. It exits 
> with Error 1. Here's how the errors start:
> 
> [root at hermes unix]# make
> gcc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall 
> -Wconversion -Wno-implicit-int -fPIC -I/usr/lib/tk8.4a3/unix 
> -I/usr/lib/tk8.4a3/unix/../generic -I/usr/lib/tk8.4a3/unix/../bitmaps 
> -I/usr/lib/tcl8.4a3/generic  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 
> -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 
> -DHAVE_PW_GECOS=1      -DTCL_NO_DEPRECATED 
> /usr/lib/tk8.4a3/unix/../generic/tk3d.c
> In file included from /usr/lib/tk8.4a3/unix/../generic/tkInt.h:21,
>                  from /usr/lib/tk8.4a3/unix/../generic/tk3d.h:18,
>                  from /usr/lib/tk8.4a3/unix/../generic/tk3d.c:16:
> /usr/lib/tk8.4a3/unix/../generic/tk.h:83: X11/Xlib.h: No such file or 
> directory
> In file included from /usr/lib/tk8.4a3/unix/../generic/tkPort.h:32,
>                  from /usr/lib/tk8.4a3/unix/../generic/tkInt.h:27,
>                  from /usr/lib/tk8.4a3/unix/../generic/tk3d.h:18,
>                  from /usr/lib/tk8.4a3/unix/../generic/tk3d.c:16:
> /usr/lib/tk8.4a3/unix/../generic/../unix/tkUnixPort.h:77: X11/Xlib.h: No 
> such file or directory
> etc. etc. etc. etc. etc. etc. etc. etc. etc.
> 
> Any ideas?
> TIA,
> BenO
> 
> 





More information about the Python-list mailing list