ubuntu 10.04 下安装 kscope1.6.2
来源:互联网 发布:系统工程师 软件开发 编辑:程序博客网 时间:2024/05/20 09:27
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 代码编辑器。
- ubuntu 10.04 下安装 kscope1.6.2
- ubuntu 10.04 下安装 kscope1.6.2
- ubuntu9.10下编译安装kscope1.6.2
- redhat系统下kscope1.6.2安装
- Centos 6.4系统下kscope1.6.2安装
- Centos6.4成功安装KScope1.6.2
- redhat6.3系统下的kscope1.6.2安装——RHEL6.3 本地创建YUM源
- ubuntu9.04下安装kscope1.6或1.9.4
- linux下安装kscope1.9.4.tar.gz出现的错误解决办法
- Ubuntu 10.04下安装 KScope
- ubuntu 10.04 下安装 ckermit
- Ubuntu 10.04下安装IE
- Ubuntu 10.04下安装jdk
- Ubuntu 10.04 下安装codeblock
- Ubuntu 10.04下安装MongoDB
- Ubuntu 10.04下安装fcitx
- 在Ubuntu下10.04下安装drupal
- Ubuntu - Windows下安装Ubuntu
- 保持一颗阳光的心
- sscanf,sprintf
- 单链表的插入(单链表)
- android Intent的Action、Category属性
- 占位符文本(Placeholder text),html5里面的一个知识点!
- ubuntu 10.04 下安装 kscope1.6.2
- Sicily 1028. Hanoi Tower Sequence
- HDU1011Starship Troopers(DP+DFS)深度优先搜索+动态规划
- android Toast
- [Python]用正则表达式进行word Count
- HDU 4279 2012网络赛Number(数论 欧拉函数结论约数个数)
- ORDER BY
- js代码规范和动态加载js
- C 二维数组(指针)动态分配和释放