ubuntu 10.04 下安装 kscope1.6.2
2013-10-05 20:52
316 查看
ubuntu 10.04 下安装 kscope1.6.2
出现 错误时因为 没有KDE环境; 下载skcope 的程序;最新版不好用,所有就是用1.6.2 版本
http://download.chinaunix.net/download/0006000/5469.shtml
下载完解压;
tar zxvf kscope-1.6.2.tar.gz
cd kscope-1.6.2
执行 ./configure
结果如下
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for kde-config... not found
configure: error: The important program kde-config was not found!
Please check whether you installed KDE correctly.
最后两行出现错误这是因为少了 如下这个库;
kdelibs4c2a
直接 sudo apt-get install kdelibs4c2a安装
然后 从新出现问题了
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
lipeng@lipeng-desktop:~/Downloads/kscope-1.6.2$ sudo apt-get install libx11-dev xorg-dev
sudo apt-get install libx11-dev xorg-dev
checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
原因:系统中没有软件所需的Qt
直接输入如下命令安装
sudo apt-get install qt3-apps-dev
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
原因:在Gnome 环境中安装 KDE 应用程序
解决:
sudo apt-get update
udo apt-get install kdelibs4-dev kdelibs4c2a
configure error: The important program mcopidl was not found!
Please check whether you installed aRts correctly or use
--without-arts to compile without aRts support(this will remove functionality)
使用 ./configure --without-arts
error: Lex/Flex is required in order to build KScope
解决办法:
sudo apt-get install flex
安装完后:
Good - your configure finished. Start make now
此时 已经成功,可以make 了;
如果你安装了4.0以上版本,则在make 的时候可能出现如下错误:
File generated with too old version of Qt Designer (3.3)
此时 可以重新设置一下环境变量:(以上默认Qt3.3 的qmake 默认安装在如下目录)
export QTDIR=/usr/bin
继续make错误1: /usr/bin/ld: cannot find -lkateinterfaces
make时提示找不到 -lkateinterfaces,不用担心,该参数是要找动态链接库,其实没有动态链接库,只有静态链接库,该库位于/usr/lib/libkatepartinterfaces.la,这个时候,切换到src目录下:
[ /home/lanch/Download/kscope-1.6.2]$cd src
[ /home/lanch/Download/kscope-1.6.2/src]$grep -n -lkateinterfaces Makefile
将Makefile文件中使用-lkateinterfaces 的地方,替换为/usr/lib/libkatepartinterfaces.la,接着,退回到上层目录cd ,进行make,就会大功告成。
5. sudo make install
这个过程中没现过错误。
6. 安装cscope,ctags,graphviz
sudo apt-get install cscope ctags graphviz
到此安装kscope1.6.2完成,可以在终端中输入kscope打开kscope1.6.2了,当然你可以作成一个快捷方式,这里就不再说明。
使用了下,kscope1.6.2总体不不错,功能和界面跟 windows 底下的sourceinsight 差不多; 当然你也可以使用wince 在 linux底下安装windows所使用的SourceInsight 代码编辑器。
相关文章推荐
- ubuntu10.04 安装kscope-1.6.2步骤
- ubuntu 10.04 下安装 kscope1.6.2
- ubuntu 10.04 上 kscope 的安装与运行
- ubuntu10.04安装KScope
- ubuntu10.04安装KScope(不建议安装)
- Ubuntu 10.04下安装 KScope
- ubuntu 10.04 安装 Kscope 全过程
- ubuntu 10.04安装kscope
- ubuntu 10.04安装kscope
- ubuntu 10.04 下kscope的安装
- Ubuntu 10.04 安装Kscope
- ubuntu 10.04安装 kscope
- ubuntu10.04 安装kscope
- 在 Ubuntu 10.04 上安装 Kscope,meld
- ubuntu 10.04安装 kscope
- 用脚步搭建开发环境和安装KScope---ubuntu 10.04
- ubuntu 10.04安装 kscope
- ubuntu 10.04 安装kscope
- UBUNTU10.04 安装C#运行环境
- ubuntu 10.04 在sun virtualBox (3.0.6) 中无法安装的解决办法