在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又远了一步,自由自在的查看源代码吧。

转载于:https://www.cnblogs.com/zyjmlz/archive/2009/09/02/1558691.html

源代码阅读工具Source-Navigator 在ubuntu 9.04下的安装与问题解决相关推荐

  1. 苹果linux桌面文件夹,Ubuntu 10.04下一键安装Mac OS X主题桌面

    不久前的<Ubuntu 10.04下Mac OS X风格桌面美化安装>遭到网友的砖头,认为和Mac OS X风格桌面美化安装根本没有关系.本来是要跟这篇一起发布的,一等就等了这么长,下面我 ...

  2. ROCm与tensorflow在ubuntu 18.04下的安装教程

    ROCm与tensorflow在ubuntu 18.04下的安装教程     本来准备买Nvidai的显卡,可是囊中羞涩再加上听说AMD的卡也能使用tensorflow进行深度学习加速了,所以1149 ...

  3. 源代码查看工具 Source Navigator 使用心得

    在ubuntu 10.04下试用了Source Navigator,有条件还是装Source insight吧,不是一个级别的,非常不方便. Source Navigator 是Red Hat出品的一 ...

  4. linux如何安装vi命令,Ubuntu 16.04 下 Vim安装及配置

    Ubuntu 16.04 下安装Vim 默认已经安装了VIM-tiny linuxidc@linuxidc:~$ locate vi | grep 'vi$' |xargs ls -al lrwxrw ...

  5. ubuntu 9.04 下 eucalyptus 安装

    这段时间研究开源云计算平台,在ubuntu 9.04下安装eucalyptus. 到现在为止,不能说完全成功,但是也看到了一小片"云".(能够使用客户端启动虚拟机实例,并且能够连接到虚拟机上.) 安装 ...

  6. linux图片添加滤镜,PhotoFlare开源图像和照片编辑器,附在Ubuntu 18.04下的安装方法...

    如果您正在寻找可在Linux或Windows系统上使用的免费照片编辑器,这里推荐PhotoFlare,它是一款开源图像和照片编辑器,可安装在Ubuntu 18.04系统下,包括Linux Mint 1 ...

  7. Redis、Redis+sentinel安装(Ubuntu 14.04下Redis安装及简单测试)

    Ubuntu下Redis安装两种安装方式: 1.apt-get方式 步骤: 以root权限登录,切换到/usr目录下. 接下来输入命令,apt-get install redis-server,如图: ...

  8. redis ubuntu php 5.2,ubuntu 14.04下简易安装php5.5 + apache2 + redis + mysql

    我是在Windows 10下安装的vagrant环境. 1.首先官网:https://www.vagrantup.com/ 下载最新版的vagrant,安装:安装虚拟机VirtualBox:https ...

  9. kaldi在linux上编译,Ubuntu 12.04下编译安装Kaldi

    因为同事工作需要 kaldi ,所以安装过程有点麻烦.在此记录一下折腾的过程. OS:Ubuntu 12.04 (amd64) kaldi的下载地址  http://svn.code.sf.net/p ...

最新文章

  1. 用JScript.net写.net应用程序
  2. js中直接对字符串转义-用于solr ulr 关键词转义
  3. java 设计模式 示例_Java中的访问者设计模式–示例教程
  4. APICloud学习笔记之窗体跳转
  5. mysql的socket文件_修改socket文件, MySQL启动报错
  6. 运行Python时出现SyntaxError: EOL while scanning string literal解决方法
  7. Office 2016 到底有没有更新?
  8. Python如何运行单个.py文件而不是unittest
  9. java销毁servlet_「销毁session」Servlet销毁session - seo实验室
  10. JMeter下载及安装详细教程
  11. 计算机类中文核心期刊
  12. 采访:蔡学镛谈复杂事务处理(CEP)
  13. Android Studio接谷歌原生登录
  14. Python 读取文件夹中指定后缀的文件
  15. -bash: /usr/local/miniconda2/bin/conda: /home/hadoop/miniconda2/bin/python: bad interpreter: No such
  16. 《UEFI内核导读》全集,2023年更新
  17. 网站建设设计具体服务内容
  18. 凡事预则立不预则废---20180112
  19. 计算机综合能力描述,计算机综合应用能力实训报告
  20. 7款相见恨晚的资源网站,每个都百里挑一,送给正需要的你!

热门文章

  1. WCF系列教程之WCF操作协定
  2. 转:罗永浩给俞敏洪写的求职信
  3. 易语言 读写txt文本
  4. phpstorm—下载安装配置教程
  5. mysql把sql文件导入到数据库
  6. DOM中严格区分大小写
  7. 快速迭代的测试人员的思考
  8. C博客作业01--分支、顺序结构
  9. Codeforces 833B 题解(DP+线段树)
  10. 201521123078《Java程序设计》第2周学习总结