1、首先下载kscope,最好下载16.x的版本,这个最好的。1.9.4 的 deb 安装包有提示依赖包版本有误,无法安装,所以直接安装 1.6.2 即可
2、解压
3、配置,使用命令
# ./configure
4、出错,提示:configure: error: The important program kde-config was not found!
安装kdekibs-devel就可以解决
#yum install kdelibs-devel
5、运行第3步,出错,提示:error: Qt (>= Qt 3.3 and < 4.0)
可以运行
yum install qt3
yum install qt3-devel
6、运行第3步,出错kde_config...not find.
把/usr/bin 下的kde4_config复制到kde_config 或者 做链接
7、运行第3步,出错:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
#mkdir /usr/include/kde
#cp /usr/include/kde4/* /usr/include/kde/
8、运行第3步,出错:
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
So, check this please and use another prefix!
#yum install kdelibs3-devel
之后应该不会出错了,运行完生成Makefile文件
9、编译,输入命令:
#make
10、运行第9步,出错:cannot find -lkateinterfaces
#yum install libkate-devel
#cd /usr/lib
#mv libkatepartinterfaces.la libkateinterfaces.la
11、运行第9步,成功,
#make install
12、安装ctags cscope dot
#yum install ctags cscope dot
2、解压
3、配置,使用命令
# ./configure
4、出错,提示:configure: error: The important program kde-config was not found!
安装kdekibs-devel就可以解决
#yum install kdelibs-devel
5、运行第3步,出错,提示:error: Qt (>= Qt 3.3 and < 4.0)
可以运行
yum install qt3
yum install qt3-devel
6、运行第3步,出错kde_config...not find.
把/usr/bin 下的kde4_config复制到kde_config 或者 做链接
7、运行第3步,出错:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
#mkdir /usr/include/kde
#cp /usr/include/kde4/* /usr/include/kde/
8、运行第3步,出错:
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
So, check this please and use another prefix!
#yum install kdelibs3-devel
之后应该不会出错了,运行完生成Makefile文件
9、编译,输入命令:
#make
10、运行第9步,出错:cannot find -lkateinterfaces
#yum install libkate-devel
#cd /usr/lib
#mv libkatepartinterfaces.la libkateinterfaces.la
11、运行第9步,成功,
#make install
12、安装ctags cscope dot
#yum install ctags cscope dot