Linux下安装Source Navigator
来源:互联网 发布:从手机淘宝哪交电费 编辑:程序博客网 时间:2024/05/16 07:22
相关版本信息:
CentOS6.5
Source Navigator 6.0
关于如何在Ubuntu中安装该软件,可参考链接二,本人没有尝试
在CentOS6.5中:
下载Source Navigator6.0 版本,解压之后三步走,configure、make、install。
出现的问题如下:
首先
在make阶段会出现与 tk3d.c 相关的一系列错误,通过安装一些库文件可以解决。
分别安装 libX11 、libXmu 、libXmu-devel
yum install libX11
yum install libXmu
yum install libXmu-devel
如果没有找到相关的库文件,可以添加其他软件源来获取这些库文件,本人使用了epel,具体添加方法参考链接一。
安装完上述库文件之后,make过程通过。
其次
当运行snavigator时,/usr/local/bin/snavigator
首先会出现如下错误
[root@localhost bin]# ./snavigator
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 keysym
no 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.
通过参考链接二中的方法可以解决该问题
摘自链接二:
注意上面的第10行:file “/usr/local/share/tk8.3/listbox.tcl” line182
[root@localhost bin]# vim /usr/local/share/tk8.3/listbox.tcl
打开listbox.tcl文件,注释掉182~184三行。
接着再次运行又会出现如下错误
[root@localhost bin]# ./snavigator
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 keysym
no 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.
也参考链接二中的方法可以解决。
摘自链接二:
[root@localhost bin]# vim /usr/local/share/tk8.3/text.tcl
打开text.tcl文件,注释掉457~459行。
链接一:http://www.linuxidc.com/Linux/2013-12/93433.htm
链接二:http://blog.sina.com.cn/s/blog_4ad7c2540101au63.html
- Linux下安装Source Navigator
- ubuntu 下安装 source navigator
- Fedora Linux 下安装 source navigator 的 bug shoot!
- Ubuntu 6.10下安装source navigator
- Ubuntu9.10下安装source navigator
- Ubuntu 10.10下安装source navigator
- Ubuntu 下安装 source navigator NG 4.5
- Ubuntu 下安装 source navigator NG 4.5
- Linux--20:ubuntu source navigator安装
- Ubuntu 9.04下安装source navigator---linux下看代码工具
- source navigator——linux下的source insight
- Ubuntu安装Source-Navigator
- 编译安装Source-Navigator
- Source-Navigator 的安装
- Source-Navigator安装问题
- 安装Source Navigator
- fedora 10安装source navigator
- ubuntu12.10安装source navigator
- 案例丨详解当当网的分布式作业框架elastic-job
- while(*i++=*t++)都做了些什么。
- 递归创建级联目录之Python_VS_PHP
- C++模板元编程(一)
- ProgressBar 颜色的设置
- Linux下安装Source Navigator
- Android Studio中导入Eclipse项目
- 浏览器g.xxx333xxx.com 跳转2345问题解决方法
- 扩展Robot Framework,实现失败用例自动再执行(失败重跑)
- github for windows 2.0的简单使用
- MRC 转 ARC
- Spring面试问答Top 25
- 欢迎使用CSDN-markdown编辑器
- 插入数组越界问题的探索