Problems with Getting Tkinter to Work

Martin Franklin martin.franklin at westgeo.com
Fri Nov 23 04:43:54 EST 2001


Ben Ocean wrote:

> Hi;
> 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


I am not an expert but this sounds like you have not got X11 headers do you 
need to install these from some sort of X11 rpm???  I have RH7.1 and did a 
full install when I installed RH and have no such problems.




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