You are not logged in.

#1 2009-01-30 09:37:15

maxplank
Member
Registered: 2009-01-30
Posts: 5

Insight / tk/tcl error in arch " insight gui for gdb doesn't work"

I just compiled insight package on arch linux perfectly and when i try to run the software, i get the following error.
1. i get the same error while using tk8.4 and tcl8.4
2. then i upgraded to tk8.6 and tcl8.6 using pacman, and i still get the same error, even if i correctly set TK/TCL_LIBRARY paths.

why do i always get these errors.
somebody on #archlinux told me that there is an error in xorg and tk , but i don't know what. can anybody help.
X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-ARCH i686
Current Operating System: Linux myhost 2.6.27-ARCH #1 SMP PREEMPT Mon Dec 8 22:01:01 UTC 2008 i686
Build Date: 17 December 2008  08:20:05PM


Tk_Init failed: Can't find a usable tk.tcl in the following directories:
    /usr/local/share/tk8.4 /usr/local/lib/tk8.4 /usr/lib/tk8.4 /usr/local/library /usr/library /usr/tk8.4.1/library /tk8.4.1/library

/usr/local/share/tk8.4/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
}"
    (file "/usr/local/share/tk8.4/listbox.tcl" line 182)
    invoked from within
"source /usr/local/share/tk8.4/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 ""} {
    if {[string equal $tcl_platform(platform) "macintosh"]} {
    proc ::tk::SourceLibFile {file} {
        if {[catch {
        namesp..."
    (file "/usr/local/share/tk8.4/tk.tcl" line 393)
    invoked from within
"source /usr/local/share/tk8.4/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.

Offline

#2 2009-04-13 18:56:25

Decapsuleur
Member
Registered: 2008-06-30
Posts: 14

Re: Insight / tk/tcl error in arch " insight gui for gdb doesn't work"

same problem here hmm

Last edited by Decapsuleur (2009-04-13 18:56:42)

Offline

Board footer

Powered by FluxBB