On 31 Oct, 18:46, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > Those TK libraries tcllib=None tklib=None tcl_includes=None > > tk_includes=None > > This also contradicts your earlier statement that you have libtk8.4.so > on your machine.
[EMAIL PROTECTED] Python-2.5.1]$ ls -las /usr/lib/libtk*.* 0 lrwxrwxrwx 1 root root 13 Oct 31 07:43 /usr/lib/libtk8.4.so -> libtk8.4.so.0* 969 -rwxr-xr-x 1 root root 986216 Apr 21 2006 /usr/lib/libtk8.4.so.0* 1 -rwxr-xr-x 1 root root 119 Apr 21 2006 /usr/lib/libtk.so* 183 -rw-r--r-- 1 root root 186092 Apr 21 2006 /usr/lib/libtkstub8.4.a lib_dir:['/usr/local/lib', '/lib64', '/usr/lib64', '/lib', '/usr/lib'] Inc_dir:['./Include', '.', '/usr/local/include', '/home/chris/ Python-2.5.1/Include', '/home/chris/Python-2.5.1', '/usr/include'] so if libtk is being looked for it should have found it. and indeed it did!! from the print in distutils in unixccompiler.py shared=/usr/lib/libtk8.4.so dylib=/usr/lib/libtk8.4.dylib static=/usr/lib/libtk8.4.a FOUND!:-/usr/lib/libtk8.4.so tklib:-/usr/lib/libtk8.4.so but no tcllib !!! perhaps that's the problem? Did I assume that it was installed by the tk mandriva module ? Perhaps theres a libtcl module to load... Indeed there is ! 787 -rwxr-xr-x 1 root root 800132 Apr 21 2006 /usr/lib/libtcl8.4.so. 0* 1 -rwxr-xr-x 1 root root 122 Apr 21 2006 /usr/lib/libtcl.so* 75 -rw-r--r-- 1 root root 75232 Apr 21 2006 /usr/lib/ libtclstub8.4.a It would seems so ! Thus after make,su, make install... [EMAIL PROTECTED] Python-2.5.1]# python2.5 Python 2.5.1 (r251:54863, Oct 30 2007, 19:01:24) [GCC 4.1.1 20060724 (prerelease) (4.1.1-3mdk)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import _tkinter >>> Thank you very much for your help Martin. much learned.
-- http://mail.python.org/mailman/listinfo/python-list