博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
代码阅读软件kscope源码安装指导
阅读量:5760 次
发布时间:2019-06-18

本文共 2009 字,大约阅读时间需要 6 分钟。

安装 kscope-1.6.2

1. ./configure --without-arts --prefix=/soft/kscope-1.6.2  (I customize the installing path)

error:

    kde-config not found
way:    
    yum install kdelibs3
    (At first I installed "kdelibs and kdelibs-devel", but later I found there was no "kde-config" command in /usr/bin but kde4-config.Thought you can make a link to kde4-config naming kde-config, you'll still get problem later. If kdelibs3 was installed,then ‘kde-config' was generated. However,I'm not sure whether "kdelibs and kdelibs-devel" worked during the following process.)
error:    
    Qt(>=3.3 and < 4.0)
way:    
    yum install qt3 qt3-devel
    (You must reconfigure,appending the following options :--with-qt-dir=/usr/lib/qt-3.3 --with-qt-includes=/usr/lib/qt-3.3/include --with-qt-libraries=/usr/lib/qt-3.3/lib
error:    
    --prefix no KDE headers
way:    
    it could be solved by installing kdelib3 if you didn't do that
error:    
    Yacc/Bison is requried
way:    
    yum install byacc bison
2. make
error:
    can't find lkateinterfaces
way:
    find that file first:
[cshi@cshi kscope-1.6.2]$ sudo find /usr -name libkate*interface*
/usr/lib/libkatepartinterfaces.so.0.0.0
/usr/lib/libkatepartinterfaces.la
/usr/lib/libkatepartinterfaces.so.0
/usr/lib/libkatepartinterfaces.so
    then do this:
    ln -s /usr/lib/libkdatepartinterfaces.so.0 /usr/lib/libkateinterfaces.so
3. make install
    ln -s /soft/kscope-1.6.2/bin/kscope /usr/local/bin/kscope
    

Done!

安装 kscope-1.9.4
I changed the installing path "INSTALL_PATH = /soft/kscope-1.9.4" in config file(please notice that the sourcecode of kscope-1.9.4 seems to be last edition,which differs a lot from those previous versions)
1. download needed package
    yum install qscintilla
    yum install qscintilla-devel
    
2. make
error:
    /usr/bin/ld: note: '_ZNK13QsciScintilla17getCursorPositionEPiS0_' is defined in DSO /lib/libqscintilla2.so.8      so try adding it to the linker command line
    /lib/libqscintilla2.so.8: could not read symbols: Invalid operation
way:
    add following in variable LIBS of app/Makefile.release:
    -lqscintilla2
    
3. sudo make install

Done!

 

你可能感兴趣的文章
【转载】Presentation at from Yoshua Bengio
查看>>
MySQL类型转换
查看>>
HashSet HashMap 源码阅读笔记
查看>>
变量声明提升1
查看>>
轻量级的Java 开发框架 Spring
查看>>
JS之路——浏览器window对象
查看>>
Chrome教程(二)使用ChromeDevTools命令菜单运行命令
查看>>
数据结构及算法基础--快速排序(Quick Sort)(二)优化问题
查看>>
你对position的了解到底有多少?
查看>>
随笔2013/2/19
查看>>
Windows Phone的Silverlight Toolkit 安装及其使用
查看>>
DBS:同学录
查看>>
Mysql备份系列(1)--备份方案总结性梳理
查看>>
[CareerCup] 1.6 Rotate Image 翻转图像
查看>>
Python中的画图初体验
查看>>
Java程序员的日常 —— 响应式导航Demo
查看>>
objective-c内存管理基础
查看>>
sap关于价值串的说法(转载)
查看>>
Migration to S/4HANA
查看>>
sed 对目录进行操作
查看>>