KScope - Source Editing Environment for KDE

Requirements

For running KScope:
  1. The KDE runtime libraries, version 3.3 or above
  2. The Qt runtime libraries, as required by the installed KDE version
  3. Cscope
  4. Exuberant Ctags (KScope will not work with other variants of Ctags)
  5. Graphviz (required as of KScope version 1.3.0).
For compiling KScope:
  1. A working compiler...
  2. KDE and Qt development libraries and tools
  3. GNU Autotools (for compiling from CVS only)
  4. Bison and Flex

Packaged Source Code

  1. Download the source code.
  2. Unpack the tarball:

    gunzip kscope-VER.tar.gz
    tar xvf kscope-VER.tar

    where VER is KScope's version.
  3. Change directory to kscope-VER
  4. Run the configuration script:

    ./configure

  5. Compile KScope:

    make

  6. Install KScope (as root):

    make install

Note to FreeBSD users:
  1. Please use gmake instead of make
  2. If linking KScope fails due to problems with the pthread library, please re-run the configuration script as

    ./configure LDFLAGS=-lpthread

    and then run gmake again.

CVS

  1. Check out the source code.
  2. Change to the KScope directory.
  3. Create the configuration script:

    make -f Makefile.cvs

  4. Configure, compile and install as in the previous section.

Obtaining the latest Cscope version

It is highly recommended for KScope users with Cscope versions 15.5 and below to upgrade to the latest CVS snapshot of Cscope. Please refer to the Cscope website for details on downloading and building Cscope from CVS.