broke tkinter

  • Thread starter Philippe C. Martin
  • Start date
P

Philippe C. Martin

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


--
***************************
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***************************
 
W

wes weston

Philippe said:
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
 

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

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top