您的位置:首页 > 运维架构

ubuntu10.04 安装kscope-1.6.2步骤

2013-04-08 15:57 666 查看
ubuntu10.04 安装kscope-1.6.2步骤

1、安装依赖库

a、安装kde-config

sudo apt-get install kdelibs

b、安装X includes

sudo apt-get install xorg-dev

c、安装KDE headers

sudo apt-get install kdelibs4-dev kdelibs4c2a

d、安装flex

sudo apt-get install flex

e、安装bison

sudo apt-get install bison

f、安装g++

sudo apt-get install g++

g、安装cscope、ctags、dot程序,用于配置kscope

sudo apt-get install cscope

sudo apt-get install ctags

sudo apt-get install graphviz 该软件包含dot

2、下载kscope-1.6.2

下载地址http://download.chinaunix.net/download/0006000/5469.shtml

以上软件包适合kscope-1.6.2,其他版本可能会出错

3、安装

a、解压

tar -xvf kscope-1.6.2.tar.gz

b、打开源码目录

cd kscope-1.6.2

c、编译配置

./configure --prefix=/opt/kscope --without-arts

d、解决找不到-lkateinterfaces

到src目录下,打开Makefile文件,将所有-lkateinterfaces替换为

/usr/lib/libkatepartinterfaces.la

e、编译

make

f、安装

make install

g、创建kscope的快捷方式到/bin/kscope

sudo ln -s /opt/kscope-1.6.2/bin/kscope /bin/kscope

这样就可以在终端用kscope命令启动kscope了

4、启动kscope,并配置

终端输入kscope即可启动,首次启动需要配置cscope ctags dot所在路径

这三个程序均在/usr/bin目录下。

---------by dongxf -----------

--------from YLHT 2013-4-8----

--------enjoy-----------------
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: