LINUX.ORG.RU

Gentoo, tk-8.5 не фачит


0

0

Обновил tcl и tk до версии 8.5.1, теперь tk-шные программы не запускаются, и летит такая ругань. Чего ему надо?

$ wish
Application initialization failed: Can't find a usable tk.tcl in the following directories:
    /usr/lib/tcl8.5/tk8.5 /usr/lib/tk8.5 /lib/tk8.5 /usr/library

/usr/lib/tk8.5/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
    while executing
"bind Listbox <MouseWheel> {
        %W yview scroll [expr {- (%D / 120) * 4}] units
    }"
    invoked from within
"if {[tk windowingsystem] eq "aqua"} {
    bind Listbox <MouseWheel> {
        %W yview scroll [expr {- (%D)}] units
    }
    bind Listbox <Option-Mou..."
    (file "/usr/lib/tk8.5/listbox.tcl" line 182)
    invoked from within
"source /usr/lib/tk8.5/listbox.tcl"
    (in namespace eval "::" script line 1)
    invoked from within
"namespace eval :: [list source [file join $::tk_library $file.tcl]]"
    (procedure "SourceLibFile" line 2)
    invoked from within
"SourceLibFile listbox"
    (in namespace eval "::tk" script line 4)
    invoked from within
"namespace eval ::tk {
        SourceLibFile button
        SourceLibFile entry
        SourceLibFile listbox
        SourceLibFile menu
        SourceLibFile panedwindow
        SourceLibFile ..."
    invoked from within
"if {$::tk_library ne ""} {
    proc ::tk::SourceLibFile {file} {
        namespace eval :: [list source [file join $::tk_library $file.tcl]]
    }
   ..."
    (file "/usr/lib/tk8.5/tk.tcl" line 404)
    invoked from within
"source /usr/lib/tk8.5/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.
anonymous

> Чего ему надо?

Нормальный дисрибутив. Потому что

> This probably means that tk wasn't installed properly.

PS. уже даже в дебиане 8.5.3

anonymous
()

поставь из оверлея latest-released.

coddye
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.