Hi, I have multiple Pythons locally installed so that I can test against different versions. (On a 64-bit Debian stable system.)
All of them use the system's Tcl/Tk installation. However, I want to make some of them use a locally build Tcl/Tk that has a small customization. There doesn't seem to be any --with-tk or --with-tcl options for configure that would allow me to say where my local Tcl/Tk is. So I ran ./configure --prefix=/home/mark/opt/py32tkmod And then I tried editing Modules/Setup: I just uncommented and edited the _tkinter line as follows: _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \ -L/home/mark/opt/tcltk85/lib \ -I/home/mark/opt/tcltk85/include \ -I/usr/X11R6/include \ -ltk8.5 -ltcl8.5 \ -L/usr/X11R6/lib \ -lX11 But when I run ~/opt/py32tkmod/bin/python3 tkinter-test.pyw the system tk is being used not my customized one. Can anyone advise? Thanks! -- http://mail.python.org/mailman/listinfo/python-list