Chinaunix首页 | 论坛 | 博客
  • 博客访问: 188903
  • 博文数量: 39
  • 博客积分: 1007
  • 博客等级: 准尉
  • 技术积分: 513
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-15 09:15
文章分类

全部博文(39)

文章存档

2012年(2)

2011年(37)

分类: LINUX

2011-11-21 11:05:12

下载:
#wget

进入下载后的目录进行解压:
#tar xvzf sourcenav-6.0.tar.gz -C /opt/                         

进入解压后的目录进行配置:
#sudo ./configure

进入解压后的目录进行安装:
#sudo make install

运行:
#sourcenav

提示:
  1. Can't find a usable tk.tcl in the following directories:
  2. /usr/local/share/tk8.3

  3. /usr/local/share/tk8.3/tk.tcl: no event type or button # or keysym
  4. no event type or button # or keysym
  5. while executing
  6. "bind Listbox {
  7. %W yview scroll [expr {- (%D / 120) * 4}] units
  8. }"
  9. (file "/usr/local/share/tk8.3/listbox.tcl" line 182)
  10. invoked from within
  11. "source [file join $tk_library listbox.tcl]"
  12. invoked from within
  13. "if {[string compare $tcl_platform(platform) "macintosh"] && \
  14. [string compare {} $tk_library]} {
  15. source [file join $tk_library button.tcl]
  16. so..."
  17. (file "/usr/local/share/tk8.3/tk.tcl" line 30
  18. invoked from within
  19. "source /usr/local/share/tk8.3/tk.tcl"
  20. ("uplevel" body line 1)
  21. invoked from within
  22. "uplevel \#0 [list source $file]"


  23. This probably means that tk wasn't installed properly.
解决方法:来自http://www.cnblogs.com/ayiah/archive/2010/11/03/1868447.html
注释掉 lines 182-184 in the file /usr/local/share/tk8.3/listbox.tcl
注释掉 lines 457-459 in the file /usr/local/share/tk8.3/text.tcl


再次运行:
#sourcenav

新建工程:


打开工程:



阅读(986) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~