Because kscope is not profitable, it seems that kscope is not updated since 1.9.4. It is a relatively new version of 1.9.4, give people feel like doing half to give up the product, is far less than 1.6.x version of the powerful, but with rhel6 or CentOS6 or a later version of the system, installed kscope-1.6.2 will report an error, in addition, the error does not directly tell you what packages to install. It is very likely that a lot of packages will be installed at the end. /configure still cannot pass. Share the following
Because kscope is not profitable, it seems that kscope is not updated since 1.9.4. It is a relatively new version of 1.9.4, give people feel like doing half to give up the product, is far less than 1.6.x version of the powerful, but with rhel6 or CentOS6 or a later version of the system, installed kscope-1.6.2 will report an error, in addition, the error does not directly tell you what packages to install. It is very likely that a lot of packages will be installed at the end. /configure still cannot pass. The following will share the centos how to smoothly install the kscope-1.6.2, the installation process of the system reported errors are not necessarily the same, but basically follow the method can be solved.
//////////////////////////////////////// //////////////////////////////////////// //////////////////////////////////
I../configure error:
Checking for KDE... configure: error:
In the prefix, you 've chosen, are no KDE headers installed. Thiswill fail.
So, check this please and use another prefix!
# Yum install kdelibs3kdelibs3-devel
Good-your configure finished. Start make now
========================================================== ======================================
Ii. make error:
/Usr/bin/ld: cannot find-lkateinte rfaces
Collect2: ld returned 1 exit status
Make [3]: *** [kscope] Error 1
Make [3]: Leaving directory '/root/Desktop/kscope/kscope-1.6.2/src'
Make [2]: *** [all] Error 2
Make [2]: Leaving directory '/root/Desktop/kscope/kscope-1.6.2/src'
Make [1]: *** [all-recursive] Error 1
Make [1]: Leaving directory '/root/Desktop/kscope/kscope-1.6.2'
Make: *** [all] Error 2
# Vim src/Makefile
Change row 482:
Kscope_LDADD =/usr/lib/libkatepartinterfaces. la-lktexteditor $ (LIB_KDEUI)
Then make and make install to solve the problem.
When configuring kscope, you need to find the cscope ctags and dot paths, but you cannot find the dot path. If you have configured the yum source, then yum-y install graphviz. i686. You can find the dot path.
Reading:
How to install the KScope http://www.linuxidc.com/Linux/2011-12/49774.htm in Ubuntu 11.10