SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] Re: scirun 4.1 tk8.3 error


Chronological Thread 
  • From: Ayla Khan <ayla@sci.utah.edu>
  • To: Bruce Smith <odranoel15@hotmail.com>
  • Cc: <scirun-users@sci.utah.edu>
  • Subject: [SCIRUN-USERS] Re: scirun 4.1 tk8.3 error
  • Date: Fri, 28 Aug 2009 12:30:08 -0600

Hi Bruce,

We're distributing Tcl/Tk 8.6 with SCIRun 4.2.  The download page is http://www.sci.utah.edu/download/scirun/4.2.html.  I would suggest downloading sources built on Aug. 27 or later, for example http://www.sci.utah.edu/releases/scirun_v4.2/SCIRun_20090828_source.tgz.

Ayla

On Aug 25, 2009, at 12:57 AM, Bruce Smith wrote:

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?


-----------------------------
Ayla Khan
(801) 585-0333







Archive powered by MHonArc 2.6.16.

Top of page