Problem compiling python on RedHat 9.0

KC nskhcarlso at bellsouth.net
Fri May 21 12:52:35 EDT 2004


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.



More information about the Python-list mailing list