SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] scirun 4.1 tk8.3 error


Chronological Thread 
  • From: Bruce Smith <odranoel15@hotmail.com>
  • To: <scirun-users@sci.utah.edu>
  • Subject: [SCIRUN-USERS] scirun 4.1 tk8.3 error
  • Date: Tue, 25 Aug 2009 16:57:14 +1000
  • Importance: Normal

Hi,

I'm installing scirun 4.1 on opensuse x86_64 from source.
SCIRun was successfully compiled, either by running the install script, or by following the install instructions in the docs.
When I try to run scirun I get an error:

#######################################
~> /usr/local/SCIRun/bin/scirun
Loading Tcl,Tk,Tk_Init failed: Can't find a usable tk.tcl in the following directories:
    /usr/local/SCIRun/thirdparty.bin/lib/tk8.3 /usr/local/SCIRun/lib/tk8.3 /usr/local/lib/tk8.3 /usr/local/SCIRun/library /usr/local/library /usr/local/tk8.3/library /usr/tk8.3/library

/usr/local/SCIRun/thirdparty.bin/lib/tk8.3/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/SCIRun/thirdparty.bin/lib/tk8.3/listbox.tcl" line 182)
    invoked from within
"source [file join $tk_library listbox.tcl]"
    invoked from within
"if {[string compare $tcl_platform(platform) "macintosh"] && \
    [string compare {} $tk_library]} {
    source [file join $tk_library button.tcl]
    so..."
    (file "/usr/local/SCIRun/thirdparty.bin/lib/tk8.3/tk.tcl" line 336)
    invoked from within
"source /usr/local/SCIRun/thirdparty.bin/lib/tk8.3/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"
/usr/local/SCIRun/lib/tk8.3/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/SCIRun/lib/tk8.3/listbox.tcl" line 182)
    invoked from within
"source [file join $tk_library listbox.tcl]"
    invoked from within
"if {[string compare $tcl_platform(platform) "macintosh"] && \
    [string compare {} $tk_library]} {
    source [file join $tk_library button.tcl]
    so..."
    (file "/usr/local/SCIRun/lib/tk8.3/tk.tcl" line 336)
    invoked from within
"source /usr/local/SCIRun/lib/tk8.3/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"
/usr/local/lib/tk8.3/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/lib/tk8.3/listbox.tcl" line 182)
    invoked from within
"source [file join $tk_library listbox.tcl]"
    invoked from within
"if {[string compare $tcl_platform(platform) "macintosh"] && \
    [string compare {} $tk_library]} {
    source [file join $tk_library button.tcl]
    so..."
    (file "/usr/local/lib/tk8.3/tk.tcl" line 336)
    invoked from within
"source /usr/local/lib/tk8.3/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.

In most case, this means your DISPLAY environment variable is not set correctly.
###################################################

I did try and apply a patch to tk8.3 as suggested here:

http://sourceware.org/ml/insight/2009-q1/msg00010.html

but still the same error.
Any ideas?

Bruce


Sell your car fast. Need a new model in your life?



Archive powered by MHonArc 2.6.16.

Top of page