Plain TCL works OK, but TK gives this error:
Code: Select all
invalid command name "errorInfo"
Code: Select all
#!/usr/bin/tclsh
grid [ttk::button .mybutton -text "Hello there, World."]
Code: Select all
invalid command name "errorInfo"
Code: Select all
#!/usr/bin/tclsh
grid [ttk::button .mybutton -text "Hello there, World."]
Code: Select all
#!/usr/bin/tclsh
package require Tk
grid [ttk::button .mybutton -text "Hello there, World."]
?Plain TCL works OK
after following WillM's hint?invalid command name "errorInfo"
Code: Select all
# tclsh
invalid command name "errorInfo"
Welcome to Jim version 0.70, Copyright (c) 2005-8 Salvatore Sanfilippo
.
.
Code: Select all
puts "hello world"
Code: Select all
# export LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu
# ln -s /usr/bin/tclsh8.6 /usr/bin/tclsh
# ln -s /usr/bin/wish8.6 /usr/bin/wish