可能由于没有钱赚的原因,所以kscope这个免费的看代码神器从1.9.4开始似乎就没有更新了,就连1.9.4这个比较新的版本,给人感觉也像是做了一半就放弃了的产品,还远远比不上1.6.x版本的强大,但是用rhel6或者CentOS6以上版本的系统,装kscope-1.6.2却会报错,而且错误还没有直接告诉你需要装些什么包,很有可能装了一大堆的包,到最后./configure还是过不了。以下就分享一下centos怎样顺利安装kscope-1.6.2,安装过程中系统报的错不一定都相同,但是基本按一下方法都可以解决。//////////////////////////////////////////////////////////////////////////////////////////////////////////////////一、./configure出错:checking for KDE... configure: error:
in the prefix, you"ve chosen, are no KDE headers installed. Thiswill fail.
So, check this please and use another prefix!# yum install kdelibs3kdelibs3-develGood - your configure finished. Start make now
===============================================================二、make出错:/usr/bin/ld: cannot find -lkateinte rfaces
collect2: ld returned 1 exit status
make[3]: *** [kscope] 错误 1
make[3]: Leaving directory`/root/Desktop/kscope/kscope-1.6.2/src"
make[2]: *** [all] 错误 2
make[2]: Leaving directory`/root/Desktop/kscope/kscope-1.6.2/src"
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory`/root/Desktop/kscope/kscope-1.6.2"
make: *** [all] 错误 2# vim src/Makefile482行改为:
kscope_LDADD = /usr/lib/libkatepartinterfaces.la-lktexteditor $(LIB_KDEUI)接着make,然后make install 就可以解决了.
在配置kscope的时候需要找到cscope ctags 和dot的路径 ,但是找不到dot的路径,这是只要配置好yum源,然后yum-y install graphviz.i686,再猜测dot的路径就可以找到了。
相关阅读:如何在Ubuntu 11.10 下安装KScope http://www.linuxidc.com/Linux/2011-12/49774.htmFedora 19下Sublime Text 2 CTags使用Linux系统装显卡驱动及分辨率不正常的解决方法相关资讯 Kscope
- 如何在Ubuntu 11.10 下安装KScope (12/19/2011 18:58:23)
- 在 Ubuntu 9.04 上安装 Kscope (07/08/2009 23:45:10)
| - Lubuntu 中安装 Kscope (09/26/2011 08:24:47)
|
本文评论 查看全部评论 (0)