ubuntu9.10下安装kscope-1.6.2
在ubuntn9.10下,不能直接安装kscope的。请按以下步骤就可以安装:
1.需要安装kde环境的一些支持;
apt-get install kdelibs (解决kde-config not found)
apt-get install xorg-dev (解决error:can't find X includes?)
apt-get install kdelibs4-dev kdelibs4c2a (解决no KDE headers installed)
安装方法一:
2.安装kate和qt3库,flex:
下载kate_3.5
下载地址:http://ftp.debian.org/debian/pool/main/k/kdebase/kate_3.5.9.dfsg.1-6_i386.deb
apt-get install libqt3-headers
apt-get install flex
apt-get install bison
3.下载kscope-1.6.2
下载地址:http://download.chinaunix.net/download/0006000/5469.shtml
./configure --without-arts
make (make过程如果提示如下错误ld: cannot find -lkateinterfaces,那么需要做一件事情就是将
(cd /usr/lib
ln -s libkateinterfaces.so.0 libkateinterfaces.so)
make install
4.安装cscope,ctags,dot
apt-get install cscope ctags graphviz
注意:在终端中输入dot,会提示安装graphviz
安装方法二:
2.如果安装了kate。需要先卸载掉:
sudo apt-get remove kate
3.下载kate_3.5.9.dfsg.1-6_i386.deb
下载地址:http://ftp.debian.org/debian/pool/main/k/kdebase/kate_3.5.9.dfsg.1-6_i386.deb
下载后直接安装(安装命令:sudo dpkg -i kate_3.5.9.dfsg.1-6_i386.deb)
4.下载kscope_1.6.0-1_i386.deb
下载地址:http://archive.ubuntu.com/ubuntu/pool/universe/k/kscope/kscope_1.6.0-1_i386.deb
下载后直接安装(安装命令:sudo dpkg -i kscope_1.6.0-1_i386.deb)
最后:
5.最后在终端中输入kscope启动程序
参考地址:http://blog.chinaunix.net/u2/65429/showart_2164150.html
安装完成后如图如图所示: