日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > Ubuntu >内容正文

Ubuntu

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

發布時間:2025/5/22 Ubuntu 55 豆豆
生活随笔 收集整理的這篇文章主要介紹了 源代码阅读工具Source-Navigator 在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又遠了一步,自由自在的查看源代碼吧。

轉載于:https://www.cnblogs.com/zyjmlz/archive/2009/09/02/1558691.html

總結

以上是生活随笔為你收集整理的源代码阅读工具Source-Navigator 在ubuntu 9.04下的安装与问题解决的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。