Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Python and Tk< Next Oldest | Next Newest >
cgeorge Offline





Group: Members
Posts: 3
Joined: Dec. 2006
Posted: Jan. 10 2007,13:25 QUOTE

If you have Tcl/Tk installed then the Python libraries need to be rebuilt. The Python make file gives a warning that it isn't building the Tcl/Tk extensions because it can find the libraries, so I'd imagine that if you have the libraries available then it will build the extensions and then everything should work.
Back to top
Profile PM 
ubermai Offline





Group: Members
Posts: 17
Joined: Dec. 2006
Posted: Jan. 10 2007,20:23 QUOTE

Okay, I'll try making my own python extension with Tcl/Tk's libs and stuff.

If it works, I'll let you guys know.
Back to top
Profile PM 
ubermai Offline





Group: Members
Posts: 17
Joined: Dec. 2006
Posted: Jan. 27 2007,20:59 QUOTE

I built Python 2.5 from source a bunch of times now, with Tcl/Tk previously installed.

Tkinter still doesn't work.

help!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 28 2007,03:08 QUOTE

After finally looking through my project files (yes, I'm slow and lazy....get used to it) I see that I never actually completed the tcl/tk upgrade to 8.4.14 including the headers. This would probably help in building Python to use tkinter (although it's just a guess...i've never used or installed tkinter).  Gimme a day or two to sober up and finish putting this package together, and another few days for roberts to get it and add to testing, and then maybe (MAYBE!) it will provide what you need to build python against tcl/tk.

Either that, or you could build tcl/tk on your own machine. It's actually quite easy to do in DSL


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
ubermai Offline





Group: Members
Posts: 17
Joined: Dec. 2006
Posted: Jan. 28 2007,04:31 QUOTE

I already built Tcl/Tk from source packages, and built a .unc extension for them (combined). I tried compiling Python while the .unc extension was mounted, but the extension might be missing the headers... I'm not sure if they are installed with make install.

When I compiled/installed Tcl/Tk to the ramdisk, Python built quite well. I just wasn't able to preserve that installation, or put it into an extension properly.

It's quite possible I'm omitting files from the extensions I build. I don't know how to make sure I have all of them.
Back to top
Profile PM 
10 replies since Dec. 10 2006,03:35 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Python and Tk

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code