can't find package Tk, Fedora 12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux