can't find package Tk, Fedora 12

Nikola Pajkovsky npajkovs at redhat.com
Mon Jan 4 09:49:29 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dne 1.1.2010 08:10, Shakthi Kannan napsal(a):
> Hi,
> 
> On Fedora 12, when using:
> 
>   $ tclsh
>   % package require Tk
>   can't find package Tk
>   %
> 
> Has anything been changed in Tcl package in Fedora 12 w.r.t.
> finding/searching for Tk libraries? If I have hello.tcl with:
> 
>   package require Tk
>   grid [ttk::button .b -text "Hello world"]
> 
> and use "wish hello.tcl" it works. But, when using:
> 
>   $ tclsh hello.tcl
>   can't find package Tk
>       while executing
>   "package require Tk"
>       (file "hello.tcl" line 1)
> 
> An upstream package uses "package require Tk" in the Tcl sources. How
> can this Tk search path be set? I have the following libraries
> installed:
> 
>   tcl-8.5.7-4.fc12.i686
>   tk-8.5.7-2.fc12.i686
> 
> The file /usr/lib/tk8.5/pkgIndex.tcl exists. Is this related?
> http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/2b6072c84d4eab2a/07aed79740ed1189?pli=1
> 
> Appreciate any inputs,
> 
> Thanks!
> 
> SK
> 
Hello,

   I will look at more closer why it's disabled. You can see how it's
going on in bugzilla here:
https://bugzilla.redhat.com/show_bug.cgi?id=540296

- -- 
Nikola
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLQbmoAAoJED4+/Vgo+H2XBX4H/0p5eaTZIW3juBDE+6r18I7f
LAIHG9JN4SqK1xEMRITNMvs1AFp1Qnwy2VleyGFEAEim6IWeb3JrNYEZoJ1dahXc
b9TAJGZZFK4fb7BN9L4NXUZNu9Cmx7D35uOkdHJMJbUV1qsH10EWYdSWjVI0fREn
0NBdYmw8/X2Z7kbQvqoSo7YdUWc3hcpNd+M4J/9tkuHEqN4Jgp1iN4i0rpCozxfD
VKsbsHHLJ58Zg6833Nc19tk2p1kQDR8L1GtFOyNj/FithF8MaNaTwc7RED4SL/xG
RSBWJos144f8nJAADKSCUUQzfhmemmF8+86Lz1Y8JV1sptkzJSy6qs+uBNeXOnA=
=9XUp
-----END PGP SIGNATURE-----




More information about the devel mailing list