CentOSFedoraRedHat installation Kscope-1.6.2 error Solution

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.