[Pkg-tcltk-devel] Bug#889810: Bug#889810: tk: 'wish' gives console error message; tclsh can't find package Tk
Sergei Golovan
sgolovan at gmail.com
Wed Feb 7 10:36:47 UTC 2018
tags 889810 + moreinfo
thanks
Hi Jasper,
On Wed, Feb 7, 2018 at 12:35 PM, Jasper Taylor <jasper at simulistics.com> wrote:
> Package: tk
> Version: 8.6.0+9
> Severity: important
>
> Dear Maintainer,
>
> I found I could not run my Tk-based application. I was starting it with a tclsh
> script which then executed "package require Tk" and this command was raising an
> error: "Can't find package Tk".
>
> When running 'wish' from the command line a console error message appears as
> follows:
>
>>application-specific initialization failed: Can't find a usable tk.tcl in the
> following directories:
>> /usr/local/lib/tcl8.6/tk8.6 /usr/local/lib/tk8.6 /usr/lib/>tk8.6
> /usr/lib/tk8.6 /lib/tk8.6 /usr/library
Judging by a lot of /usr/local in the output I'd say that you have some locally
installed Tcl/Tk distribution and `wish' is actually
`/usr/local/bin/wish'. Can you check
this? Does /usr/bin/wish run properly when a full path is specified?
Cheers!
--
Sergei Golovan
More information about the Pkg-tcltk-devel
mailing list