Building Python with non-standard tcl/tk support
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Sat Mar 3 12:36:52 EST 2012
I'm trying to re-build Python 3.2 with support for TCL/TK 8.5, but when I
run "make" I get this message:
Failed to build these modules:
_tkinter
and after installing 3.2 I still have this:
>>> import _tkinter
>>> _tkinter.TK_VERSION
'8.4'
What do I need to do to have Python 3.2 use tcl/tk 8.5?
I have installed tcl/tk 8.5.11 from source, and the binaries are here:
/usr/local/lib/libtcl8.5.so
/usr/local/lib/libtk8.5.so
In the Python 3.2 source, I do the usual:
./configure
make
sudo make altinstall
(altinstall to avoid nuking the system Python)
--
Steven
More information about the Python-list
mailing list