|
From: Helmut Jarausch on 3 Jul 2008 05:09 Hi, after upgrading from version 8.5.2 to 8.5.3 (at least) some of my scripts fail here, like filerunner - see the messages below I think I've installed it like earlier release: cd unix CC=gcc CFLAGS='-O3 -march=pentium3 -pipe' nice ./configure --prefix=/usr/local/beta \ --enable-shared make make install What am I missing? Many thanks for a hint, Helmut. Application initialization failed: Can't find a usable tk.tcl in the following directories: /usr/local/beta/lib/tcl8.5/tk8.5 /usr/local/beta/lib/tk8.5 /usr/local/lib/tk8.5 /usr/local/beta/library /usr/local/beta/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/local/beta/lib/tk8.5/listbox.tcl" line 182) invoked from within "source /usr/local/beta/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/local/beta/lib/tk8.5/tk.tcl" line 404) invoked from within "source /usr/local/beta/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. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
From: Jeff Hobbs on 3 Jul 2008 15:41 On Jul 3, 2:09 am, Helmut Jarausch <jarau...(a)igpm.rwth-aachen.de> wrote: > after upgrading from version 8.5.2 to 8.5.3 (at least) some of my > scripts fail here, like filerunner - see the messages below Can you be more specific about the system specs? > I think I've installed it like earlier release: > cd unix > > CC=gcc CFLAGS='-O3 -march=pentium3 -pipe' nice ./configure > --prefix=/usr/local/beta \ > --enable-shared Perhaps try -O2 to remove chance of compiler bug? > Application initialization failed: Can't find a usable tk.tcl in the following > directories: > /usr/local/beta/lib/tcl8.5/tk8.5 /usr/local/beta/lib/tk8.5 > /usr/local/lib/tk8.5 /usr/local/beta/library > > /usr/local/beta/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 > }" ... If this still blows after recompile, please file this at http://tcl.sourceforge.net/ in the Tk toolkit tracker. Jeff
|
Pages: 1 Prev: Time traveling with Tclhttpd? Next: Events on Serial port |