Hello, I have python2.7 .I have compiled tcl en tk and installed them in my home directory, say /home/eric/tcl and /home/eric/tk .
I have edited $ vi Modules/Setup ... _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \ -L/home/eric/tcl/lib \ -L/home/eric/tk/lib \ -I/home/eric/tcl/include \ -I/home/eric/tcl/include \ -I/usr/include \ -ltcl8.6 -ltk8.6 \ -L/usr/lib \ -lX11 But setup.py does self.announce("INFO: Can't locate Tcl/Tk libs and/or headers", 2) When I pdb setup.py I see (Pdb) p inc_dirs ['/home/eric/Unix/Python/Python-2.7-install/include', '.', 'Include', './Include', '/usr/local/include', '/home/eric/Unix/Python/Python-2.7- install/include/python2.7', '/usr/include'] (Pdb) p lib_dirs ['/home/eric/Unix/Python/Python-2.7-install/lib', '/usr/local/lib', '/ lib64', '/usr/lib64', '/lib', '/usr/lib'] So no tcl or tk libraries or header files. Is my Modules/Setup not OK? Thanks, Eric J. -- http://mail.python.org/mailman/listinfo/python-list