can't find package Tk, Fedora 12
Shakthi Kannan
shakthimaan at gmail.com
Fri Jan 1 07:10:16 UTC 2010
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
--
Shakthi Kannan
http://www.shakthimaan.com
More information about the fedora-devel-list
mailing list