LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1214|回复: 0

insight :Tk_Init failed

[复制链接]
发表于 2008-12-3 11:23:27 | 显示全部楼层 |阅读模式

  1. [EMAIL="woodenapple@mars"]jzring@lab1305[/EMAIL] ~ $ insight
  2. Tk_Init failed: Can't find a usable tk.tcl in the following directories:
  3.     /usr/share/insight/tk8.4 /usr/lib/tk8.4 /lib/tk8.4 /usr/library /library /tk8.4.1/library /tk8.4.1/library
  4. /usr/lib/tk8.4/tk.tcl: no event type or button # or keysym
  5. no event type or button # or keysym
  6.     while executing
  7. "bind Listbox <MouseWheel> {
  8.         %W yview scroll [expr {- (%D / 120) * 4}] units
  9.     }"
  10.     invoked from within
  11. "if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
  12.     bind Listbox <MouseWheel> {
  13.         %W yview scroll [expr {- (%D)}] uni..."
  14.     (file "/usr/lib/tk8.4/listbox.tcl" line 181)
  15.     invoked from within
  16. "source /usr/lib/tk8.4/listbox.tcl"
  17.     (in namespace eval "::" script line 1)
  18.     invoked from within
  19. "namespace eval :: [list source [file join $::tk_library $file.tcl]]"
  20.     (procedure "SourceLibFile" line 2)
  21.     invoked from within
  22. "SourceLibFile listbox"
  23.     (in namespace eval "::tk" script line 4)
  24.     invoked from within
  25. "namespace eval ::tk {
  26.         SourceLibFile button
  27.         SourceLibFile entry
  28.         SourceLibFile listbox
  29.         SourceLibFile menu
  30.         SourceLibFile panedwindow
  31.         SourceLibFile ..."
  32.     invoked from within
  33. "if {$::tk_library ne ""} {
  34.     if {$tcl_platform(platform) eq "macintosh"} {
  35.         proc ::tk::SourceLibFile {file} {
  36.             if {[catch {
  37.                 namespace eval :: ..."
  38.     (file "/usr/lib/tk8.4/tk.tcl" line 407)
  39.     invoked from within
  40. "source /usr/lib/tk8.4/tk.tcl"
  41.     ("uplevel" body line 1)
  42.     invoked from within
  43. "uplevel #0 [list source $file]"

  44. This probably means that tk wasn't installed properly.
复制代码

insight 8.4
xproto 7.0.13
tk 8.4.19-r1
tcl 8.4.19

参考http://bugs.gentoo.org/show_bug.cgi?id=225999做了,也没有效果。另外里面提到的几个patch似乎现在已经在portage里面了。
将xproto降到7.0.12一样也没用。
gdb比较喜欢insight,虽然丑,但是好用。请问有朋友碰到这个问题了么
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表