I am trying to get BLT-2.5.3 on an OpenSuSE 12.2 x86_64 box which has the distro's version of tcl/tk installed, version 8.5.11. The code compiles OK, but when I try to run test cases, I got errors.
The first error was something about not being able to find a usable init.tcl file. I found my system's init.tcl file and created a symbolic link to one of the places where the BLT package was trying to find. That cleared up some error, but still gave a fatal error: I get this error (when trying to run graph1.tcl demo):
# ../generic/bltwish graph1.tcl
Application initialization failed: invalid command name "tcl_findLibrary"
Error in startup script: invalid command name "::tcl:™️:UnknownHandler"
while executing
"::tcl:™️:UnknownHandler ::tclPkgUnknown BLT 0-"
("package unknown" script)
invoked from within
"package require BLT"
(file "graph1.tcl" line 3)
Similarly, when I just try to execute bltwish, I get this error:
# ../generic/bltwish
Application initialization failed: invalid command name "tcl_findLibrary"
In this case, however, a blank window also comes up (presumably this is the bltwish window.
It might just a configuration problem, but I've tried to configure the package several different (and what seemed to me to be sensible) ways. The error doesn't change.
Any help would be appreciated.
Thanks,
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,.
I am trying to get BLT-2.5.3 on an OpenSuSE 12.2 x86_64 box which has the distro's version of tcl/tk installed, version 8.5.11. The code compiles OK, but when I try to run test cases, I got errors.
The first error was something about not being able to find a usable init.tcl file. I found my system's init.tcl file and created a symbolic link to one of the places where the BLT package was trying to find. That cleared up some error, but still gave a fatal error: I get this error (when trying to run graph1.tcl demo):
# ../generic/bltwish graph1.tcl
Application initialization failed: invalid command name "tcl_findLibrary"
Error in startup script: invalid command name "::tcl:™️:UnknownHandler"
while executing
"::tcl:™️:UnknownHandler ::tclPkgUnknown BLT 0-"
("package unknown" script)
invoked from within
"package require BLT"
(file "graph1.tcl" line 3)
Similarly, when I just try to execute bltwish, I get this error:
# ../generic/bltwish
Application initialization failed: invalid command name "tcl_findLibrary"
In this case, however, a blank window also comes up (presumably this is the bltwish window.
It might just a configuration problem, but I've tried to configure the package several different (and what seemed to me to be sensible) ways. The error doesn't change.
Any help would be appreciated.
Thanks,
Paul