zoukankan      html  css  js  c++  java
  • 源代码阅读工具SourceNavigator 在ubuntu 9.04下的安装与问题解决

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

  • 相关阅读:
    ASP.NET 防盗链的实现[HttpHandler]
    html打印表格每页都有的表头和打印分页
    spring是怎样管理mybatis的及注入mybatis mapper bean的
    浅谈Log4j和Log4j2的区别
    git tag — 标签相关操作
    java cocurrent包
    线程实现异步
    使用Shell脚本查找程序对应的进程ID,并杀死进程
    shell脚本监测文件变化
    spring boot的几种配置类型
  • 原文地址:https://www.cnblogs.com/zyjmlz/p/1558691.html
Copyright © 2011-2022 走看看