Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: silverbird on October 18, 2010, 09:03:53 AM

Title: Tkinter
Post by: silverbird on October 18, 2010, 09:03:53 AM
I have just downloaded TC 3.2 and installed python (2.7)
I see tcl and tk are also installed but when I import Tkinter (or _tkinter) I get missing libXss.so.1 library.

Having read the topic on 2.7 it should work ok.

I am new to TC though previously I did install it to hard drive successfully. This time I plan to leave it on CD and use the /tce folder on my hard drive as suggested.
Title: Re: Tkinter
Post by: Jason W on October 18, 2010, 09:13:06 AM
I just added Xorg-7.5-lib.tcz to the tk.tcz.dep file.  Should work now.
Title: Re: Tkinter
Post by: maro on October 18, 2010, 06:57:41 PM
That might not be all:
Code: [Select]
tc@box:~$ ldd /tmp/tcloop/tk/usr/local/lib/libtk8.5.so | grep 'not found'
        libXft.so.2 => not found
        libfontconfig.so.1 => not found

So I guess 'tk.tcz.dep' also needs the addition of 'libxft.tcz', whilst 'fontconfig.tcz' would be included via 'libxft.tcz.dep'.
Title: Re: Tkinter
Post by: Jason W on October 18, 2010, 07:11:26 PM
Added libxft.tcz to dep file.