Problem compiling python on RedHat 9.0

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top