Re: newbie question on python 2.4 and tkinter

2005-02-19 Thread Raymond L. Buvel
configure with python 2.4 and tkinter. - David Joyner The problem is most likely missing header files for the Tcl/Tk libraries. Most Linux distributions (including SuSE) package the required files separately from the libraries. In Yast, look for packages with the same name and a -dev suffix.

newbie question on python 2.4 and tkinter

2005-02-18 Thread David Joyner
it the /Modules/Setup file and recompile. The edits consist of determining with location of various Tcl/Tk libraries, header files, etc. I was wondering if anyone could help out with how to determine these. I have a suse 9.1 box and a new debian laptop, both of which I would like to configure with

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 -

Python 2.4 and Tkinter

2004-12-01 Thread Jeffrey Barish
Since upgrading to python 2.4 yesterday, I am no longer able to use Tkinter. From http://www.python.org/moin/TkInter I learned that I need to edit Modules/Setup to include Tkinter during the make. However, it isn't clear to me what modifications to make. I am supposed to specify directories in w