fedoa14安裝kscope-1.6.2

Kscope相當於windows下的Source Insight,系統自帶的kscope報錯打不開,還是自己動手豐衣足食。

http://download.chinaunix.net/download.php?id=28565&ResourceID=5469
下載解壓後進入kscope-1.6.2目錄,查看INSTALL安裝說明安裝如下:
1.   ./configure

問題:error: The important program kde-config was not found!
解決:yum install kdelibs3 kdelibs3-devel

問題:checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers and libraries) not found. Please check your installation!
解決:yum install qt3-devel

再次./configure
最終提示:Good - your configure finished. Start make now

2.   make
問題:/usr/bin/ld: cannot find -lkateinterfaces
解決:修改 src/Makefile 大約在482行
          kscope_LDADD = -lkateinterfaces -lktexteditor $(LIB_KDEUI)
          -lkateinterfaces 替換爲/usr/lib/libkatepartinterfaces.la
3.   make install
    By default, `make install' will install the package's files in`/usr/local/bin', `/usr/local/man', etc.  You can specify an installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.

4.  make clean //如果你想卸載輸入

當安裝完成後,然後配置以下三個路徑:
Cscope path:/usr/bin/cscope
Ctags path:/usr/bin/ctags
Dot path:/usr/bin/dot

關於中文亂碼 Tools--->Encoding--->gb2312/gb18030等但要一個文件一個文件設不知哪裏設全局的編碼。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章