Problems with Getting Tkinter to Work

Kragen Sitaker kragen at canonical.org
Sat Nov 24 01:28:57 EST 2001


Ben Ocean <zope at thewebsons.com> writes:

> 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:
> 
> 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

Dude, you probably need -I/usr/X11/include or -I/usr/X11R6/include ---
but do you even have X11/Xlib.h there?  You might need to install some
more packages and possibly rerun configure.




More information about the Python-list mailing list