源代码阅读工具Source-Navigator 在ubuntu 9.04下的安装与问题解决
2009-09-02 12:59
501 查看
在http://sourcenav.sourceforge.net/download.html下载最新版本6.0,安装
sudo ./configure
sudo make install
安装完成后运行 snavigator 提示
[root@MagicLinux sourcenav-6.0]# 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 30
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.
不知其所以然,重新安装tk8.3无效,升级到tk8.5无效
后来在网上发现需要给下载的Source-Navigator 6.0打补丁
到http://bugs.gentoo.org/show_bug.cgi?id=225999 找到 tk-8.4-lastevent.patch 补丁
将补丁粘贴到tk目录下,cd 到 tk 的源码目录
patch -p0 -i tk-8.4-lastevent.patch
删除安装,重新安装,可以运行了。离windows又远了一步,自由自在的查看源代码吧。
sudo ./configure
sudo make install
安装完成后运行 snavigator 提示
[root@MagicLinux sourcenav-6.0]# 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 30
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.
不知其所以然,重新安装tk8.3无效,升级到tk8.5无效
后来在网上发现需要给下载的Source-Navigator 6.0打补丁
到http://bugs.gentoo.org/show_bug.cgi?id=225999 找到 tk-8.4-lastevent.patch 补丁
将补丁粘贴到tk目录下,cd 到 tk 的源码目录
patch -p0 -i tk-8.4-lastevent.patch
删除安装,重新安装,可以运行了。离windows又远了一步,自由自在的查看源代码吧。
相关文章推荐
- ubuntu上安装源代码阅读工具Source-Navigator
- Ubuntu 下安装LXR(linux源代码阅读工具)
- ubuntu安装常用的工具及解决若干问题
- Ubuntu 下安装LXR(linux源代码阅读工具)
- Ubuntu 下安装LXR(linux源代码阅读工具)
- Ubuntu 下安装LXR(linux源代码阅读工具)
- 在 VMware Ubuntu 64 里安装 Vmware Tools工具,能够解决不能满屏显示与从客户机复制文件到虚拟机的问题
- Ubuntu 下安装LXR(linux源代码阅读工具)
- linux 源代码阅读工具 source navigator
- ubuntu10.10下安装Kscope源代码阅读工具
- [转]Ubuntu 10.04 安装在 VMware Workstation 7 后,键盘无法输入的问题的解决方法
- centos下安装tessrect-ocr及训练工具问题分析及解决办法
- ubuntu 下安装NVIDIA显卡驱动出现X service error问题解决方法
- Ubuntu7.04使用totem-xine,安装libxine1-ffmpeg后,rm文件播放无声问题的解决办法
- ubuntu各种软件安装问题及解决
- 解决安装微信开发工具显示 ‘当前系统不是安全代理’问题
- ubuntu下安装Firefox中国版解决Ubuntu与Windows下Firefox账号同步问题
- ubuntu 下code blocks 安装全过程 && codeblocks 快捷键 && 解决调试终端不能粘贴问题
- 解决linux(Ubuntu)下Pydev无法安装的问题
- Windows7 中在VMware Workstation虚拟环境下的Ubuntu安装遇到的问题及解决办法记录