1. download kscope-1.6.2: Awesome. 2. install kscope in redhat and run./configure directly. the following error occurs: configure:
1. download kscope-1.6.2
: Bytes.
2. install kscope in redhat and run./configure directly. the following error occurs:
Configure: error: in the prefix, you 've chosen, are no KDE headers installed.
To use kscope, you must add and install kde environment support:
2.1 In ipvtn9.10, kscope1.6.2 cannot be directly installed. to install kde environment support, follow these steps:
Apt-get install kdelibs (solution kde-config not found) apt-get install xorg-dev (solution error: can't find X primary des ?) Apt-get install kdelibs4-dev kdelibs4c2a (solving no KDE headers installed) I encountered some problems when installing these libraries, the installation of 0% [Waiting for headers], then it will not move. Google said it was interrupted in the apt-get install process (indeed). according to the instructions on the Internet, delete some files in the/var/cache/apt/archives Directory, especially those in the/var/cache/apt/archives/partial directory. 2.2 install kdelibs3 and kdelibs3-devel under redhat and fedora (solving no KDE headers installed. Because of the cumbersome dependency of the software, you can use the yum command to update the software: yum install kdelibs3 kdelibs3-devel and install the kde-related libraries (solve kde-config was not found !) : Yum install kdebase-devel 3. configuration. configure command. when/configure -- without-arts is config, the system will prompt that this cannot be found and that cannot be found. install all required software packages as prompted. The following are some of the following: error 1: configure: error: C ++ preprocessor "/lib/cpp" fails sanity check solution: sudo apt-get install
Build-essentialAnd then./configure -- without-arts error 2: configure: error: Lex/Flex is required in order to build KScope
Solution: sudo apt-get install flex, and then./configure -- without-arts
Error 3: configure: error: Yacc/Bison is required in order to build KScope
Solution: sudo apt-get install bison, and then. /configure -- without-arts only records these errors during installation. if there are other errors, they can be found in google. 4. # problems that may occur during makemake:
Error 1:/usr/bin/ld: cannot find-lkateinterfaces
-Lkateinterfaces cannot be found during make. Don't worry. this parameter is used to find the dynamic link library. In fact, there is no dynamic link library, and only the static link library is used, this library is located in/usr/lib/libkatepartinterfaces. la, switch to the src directory at this time:
[/Opt/kscope-1.6.2] $ cd src
[/Opt/kscope-1.6.2/src] $ grep-n-lkateinterfaces Makefile
Replace-lkateinterfaces in the Makefile with/usr/lib/libkatepartinterfaces. la. Then, return to the upper-level directory cd... and make it. 5. # make install. 6. install cssag, ctags, graphvizsudo apt-get install cs1_ctags graphvizredhat: yum install cs1_ctags graphviz install kscope1.6.2 now. you can enter kscope in the terminal to open kscope1.6.2, of course, you can make a shortcut.