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.
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
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
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
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
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
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
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
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
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
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
-
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
12 matches
Mail list logo