Philippe C. Martin wrote:
Hi,
I decided to clean my system and rebuild python from scratch.
I downloaded tk8.4.9, tcl8.4.9 and Python2-4.tar.bz2.
I installed tcl then tk using './configure --prefix=/usr'
tkcvs is now working OK
trying to compile python (configure = './configure --prefix=/usr', I get
this:
In file included
from /home/philippe/downloaded/Python-2.4/Modules/_tkinter.c:67:
/usr/include/tk.h:337: error: syntax error before "CONST84"
In file included from /usr/include/tk.h:1576,
from /home/philippe/downloaded/Python-2.4/Modules/_tkinter.c:67:
Any clue!
Regards,
Philippe
Phillipp,
Might you be getting the wrong header file/tk version?
http://wiki.tcl.tk/3669 talks about it.
wes
--
http://mail.python.org/mailman/listinfo/python-list