Re: Python 2.4 and Tkinter

2004-12-03 Thread Jeffrey Barish
Eric Brunel wrote: > Jeffrey Barish wrote: > [snip] >> OK, I downloaded tcl8.4.8 and tk8.4.8. They are now installed. Back >> to >> python2.4 make. It now bombs at: >> >> gcc -pthread -shared build/temp.linux-i686-2.4/_tkinter.o >> build/temp.linux-i686-2.4/tkappinit.o -L/usr/X11R6/lib64 >> -L

Re: Python 2.4 and Tkinter

2004-12-03 Thread Eric Brunel
Jeffrey Barish wrote: [snip] OK, I downloaded tcl8.4.8 and tk8.4.8. They are now installed. Back to python2.4 make. It now bombs at: gcc -pthread -shared build/temp.linux-i686-2.4/_tkinter.o build/temp.linux-i686-2.4/tkappinit.o -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/local/lib -ltk8.4 -ltcl8

Re: Python 2.4 and Tkinter

2004-12-02 Thread Jeffrey Barish
Jean Brouwers wrote: > > It is hard to tell what is wrong, exactly. Two suggestions: > > If this is a 32-bit build, why is there a "-L/usr/X11R6/lib64" and > *before* the regular "-L/usr/X11R6/lib"? Try to rerun just that line > "gcc -pthread _tkinter.so" but without the "-L/usr/X11R6/l

Re: Python 2.4 and Tkinter

2004-12-02 Thread Jean Brouwers
It is hard to tell what is wrong, exactly. Two suggestions: If this is a 32-bit build, why is there a "-L/usr/X11R6/lib64" and *before* the regular "-L/usr/X11R6/lib"? Try to rerun just that line "gcc -pthread _tkinter.so" but without the "-L/usr/X11R6/lib64" option. If that still fails

Re: Python 2.4 and Tkinter

2004-12-02 Thread Jeffrey Barish
Jean Brouwers wrote: > > Here is how we understand this (which may be incomplete and/or > incorrect). > > The _tkinter module is a shared library _tkinter.o and that is built > from C source file _tkinter.c. That C file and a few other tk related > C files are included in the Python distributio

Re: Python 2.4 and Tkinter

2004-12-02 Thread Eric Brunel
Jeffrey Barish wrote: [snip] Here's what I get when I import Tkinter at a python prompt: [EMAIL PROTECTED]:~$ python Python 2.4 (#1, Nov 30 2004, 08:58:13) [GCC 3.2.3 20030316 (Debian prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. import Tkinter Traceb

Re: Python 2.4 and Tkinter

2004-12-01 Thread Jean Brouwers
Here is how we understand this (which may be incomplete and/or incorrect). The _tkinter module is a shared library _tkinter.o and that is built from C source file _tkinter.c. That C file and a few other tk related C files are included in the Python distribution. But the Tcl/Tk libraries to buil

Re: Python 2.4 and Tkinter

2004-12-01 Thread Jeffrey Barish
Jean Brouwers wrote: > > FWIW, we just installed Python 2.4 (on RH Linx 8), rebuilt it from > scratch and everything is fine. Tkinter is there, _tkinter as well > and idle comes up as expected. > > /Jean Brouwers > > > > In article <[EMAIL PROTECTED]>, > Jeffrey Barish <[EMAIL PROTECTED]> wr

Re: Python 2.4 and Tkinter

2004-12-01 Thread Jean Brouwers
FWIW, we just installed Python 2.4 (on RH Linx 8), rebuilt it from scratch and everything is fine. Tkinter is there, _tkinter as well and idle comes up as expected. /Jean Brouwers In article <[EMAIL PROTECTED]>, Jeffrey Barish <[EMAIL PROTECTED]> wrote: > http://www.python.org/moin/TkInter -