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

  • 相关阅读:
    指针
    Centos6.5 安装Vim7.4
    C++ Prime:指针和const
    C++ Prime:const的引用
    C++ Prime:函数
    C++ Prime:范围for语句
    python的oop概述
    脚本单独调用django模块
    xtrabackup备份之xbstream压缩
    MySQL8.0安装
  • 原文地址:https://www.cnblogs.com/zyjmlz/p/1558691.html
Copyright © 2011-2022 走看看