K
KC
Trying to compile Python-2.3.3 on RedHat 9 and am having problems with
the X11 and tk stuff:
In file included from /opt/Python-2.3.3/Modules/_tkinter.c:71:
/usr/include/tk.h:83:29: X11/Xlib.h: No such file or directory
In file included from /opt/Python-2.3.3/Modules/_tkinter.c:71:
/usr/include/tk.h:581: parse error before "Bool"
/usr/include/tk.h:583: parse error before "event"
/usr/include/tk.h:584: parse error before "root"
/usr/include/tk.h:585: parse error before "subwindow"
/usr/include/tk.h:586: parse error before "time"
.......goes on and on.........
I have added the option of --enable-unicode=ucs4 as mentioned in the
README but that has made no difference.
Any ideas on how to fix this? Thanks.
the X11 and tk stuff:
In file included from /opt/Python-2.3.3/Modules/_tkinter.c:71:
/usr/include/tk.h:83:29: X11/Xlib.h: No such file or directory
In file included from /opt/Python-2.3.3/Modules/_tkinter.c:71:
/usr/include/tk.h:581: parse error before "Bool"
/usr/include/tk.h:583: parse error before "event"
/usr/include/tk.h:584: parse error before "root"
/usr/include/tk.h:585: parse error before "subwindow"
/usr/include/tk.h:586: parse error before "time"
.......goes on and on.........
I have added the option of --enable-unicode=ucs4 as mentioned in the
README but that has made no difference.
Any ideas on how to fix this? Thanks.