安装SourceNavigator 6.0
来源:互联网 发布:边际报酬递减规律算法 编辑:程序博客网 时间:2024/05/19 22:49
http://wildpointer.net/2010/03/15/install-source-navigator/
下载了sourcenav-6.0.tar.gz (http://sourceforge.net/projects/sourcenav/),
然后一步步地,
$cd sourcenav-6.0
$./configure
$make
$sudo make install
然后启动source navigator,
$snavigator
又囧了,出现以下提示
1234567891011121314151617181920212223242526
Can't find a usable tk.tcl in the following directories: /usr/local/share/tk8.3 /usr/local/share/tk8.3/tk.tcl: no event type or button # or keysymno event type or button # or keysym while executing"bind Listbox <MouseWheel> { %W yview scroll [expr {- (%D / 120) * 4}] units}" (file "/usr/local/share/tk8.3/listbox.tcl" line 182) invoked from within"source [file join $tk_library listbox.tcl]" invoked from within"if {[string compare $tcl_platform(platform) "macintosh"] && \[string compare {} $tk_library]} { source [file join $tk_library button.tcl] so..." (file "/usr/local/share/tk8.3/tk.tcl" line 308) invoked from within"source /usr/local/share/tk8.3/tk.tcl" ("uplevel" body line 1) invoked from within"uplevel \#0 [list source $file]" This probably means that tk wasn't installed properly.
然后google,看了看,知道解决方法了。
注意上面的第10行:file “/usr/local/share/tk8.3/listbox.tcl” line 182
于是:
$sudo gedit /usr/local/share/tk8.3/listbox.tcl
注释掉182~184三行。
然后:
$snavigator
又囧了,提示如下:
123456789101112131415161718192021222324252627
Can't find a usable tk.tcl in the following directories: /usr/local/share/tk8.3 /usr/local/share/tk8.3/tk.tcl: no event type or button # or keysymno event type or button # or keysym while executing"bind Text <MouseWheel> { %W yview scroll [expr {- (%D / 120) * 4}] units}" (file "/usr/local/share/tk8.3/text.tcl" line 457) invoked from within"source [file join $tk_library text.tcl]" invoked from within"if {[string compare $tcl_platform(platform) "macintosh"] && \[string compare {} $tk_library]} { source [file join $tk_library button.tcl] so..." (file "/usr/local/share/tk8.3/tk.tcl" line 308) invoked from within"source /usr/local/share/tk8.3/tk.tcl" ("uplevel" body line 1) invoked from within"uplevel \#0 [list source $file]" This probably means that tk wasn't installed properly.
照着葫芦画瓢,注意第11行:file “/usr/local/share/tk8.3/text.tcl” line 457
好吧:
$sudo gedit /usr/local/share/tk8.3/text.tcl
注释掉457~459行。
然后再:
$snavigator
正常了。
- 安装SourceNavigator 6.0
- 安装SourceNavigator 6.0
- Ubuntu12.04下安装sourcenavigator-NG4.5阅读源代码
- ubuntu sourcenavigator
- 用SourceNavigator看代码
- SourceNavigator,代替SourceInsight
- 关于sourcenavigator 的mouse wheel
- 安装wince 6.0
- ce 6.0安装顺序
- Linux 安装IE 6.0
- Hive0.6.0安装配置
- WINCE 6.0 安装
- Debian 6.0安装配置
- TestLink1.6.0安装说明
- WinCE 6.0 安装 X86
- debian 6.0 安装 xen
- 硬盘安装CentOS 6.0
- VC++6.0 安装问题
- 除了技术我们还应该知道的
- 画正弦线
- Java I/O
- 采用CXF 构建webservice
- 虚拟机域的安装配置
- 安装SourceNavigator 6.0
- android json解析及简单例子
- 从DDOS说起:最优的服务器集群方案-PaceMaker
- java同步和互斥
- 趣题 do while continue
- 谁拿了最多奖学金
- C# attribute属性的例子
- 黑马程序员-刚开始接触java时
- java vector 对象排序例子