473,387 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

broke tkinter

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
***************************

Jul 18 '05 #1
2 1284
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

Jul 18 '05 #2
I'll check, thanks.

Philippe

On Tue, 08 Feb 2005 18:03:11 +0000, wes weston wrote:
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


Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Josh | last post by:
Caution, newbie approaching... I'm trying to come up with a very simple Tkinter test application that consists of a window with a drop-down menu bar at the top and a grid of colored rectangles...
3
by: srijit | last post by:
Hello, Any idea - why the following code crashes on my Win 98 machine with Python 2.3? Everytime I run this code, I have to reboot my machine. I also have Win32all-157 installed. from Tkinter...
0
by: Brian van den Broek | last post by:
Hi all, IDLE refuses to launch, and I believe it is because I attempted to define a custom key-binding that it doesn't like. I was recently defining a custom keybinding in IDLE 1.1 under...
0
by: Brian van den Broek | last post by:
Brian van den Broek said unto the world upon 2005-02-04 22:21: > Hi all, > > IDLE refuses to launch, and I believe it is because I attempted to > define a custom key-binding that it doesn't like....
2
by: BrianS | last post by:
Hi, I'm trying to learn Python and wanted to play with Tkinter. I couldn't get it to work so I figured it would help if I installed the newest verison of Python. I downloaded the source,...
0
by: syed_saqib_ali | last post by:
Below is a simple code snippet showing a Tkinter Window bearing a canvas and 2 connected scrollbars (Vertical & Horizontal). Works fine. When you shrink/resize the window the scrollbars adjust...
1
by: Michael Yanowitz | last post by:
Hello: Below I have included a stripped down version of the GUI I am working on. It contains 2 dialog boxes - one main and one settings. It has the following problems, probably all related, that...
7
by: Adam W. | last post by:
I did a stupid thing and "wrote in" <Up-Arrowunder the advance key bindings section, and after hitting apply I got a load of exceptions. Now my shell wont open and my IDEL wont start anymore.... ...
8
by: karthikbalaguru | last post by:
Hi, One of my python program needs tkinter to be installed to run successfully. I am using Redhat 9.0 and hence tried installing by copying the tkinter-2.2.2-36.i386.rpm alone from the CD 3 to...
3
by: joshdw4 | last post by:
I hate to do this, but I've thoroughly exhausted google search. Yes, it's that pesky root window and I have tried withdraw to no avail. I'm assuming this is because of the methods I'm using. I...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.