Requirements
For running KScope:
- The KDE runtime libraries, version 3.3 or above
- The Qt runtime libraries, as required by the installed KDE version
- Cscope
- Exuberant Ctags (KScope will not work with other variants of Ctags)
- Graphviz (required as of KScope version 1.3.0).
For compiling KScope:
- A working compiler...
- KDE and Qt development libraries and tools
- GNU Autotools (for compiling from CVS only)
- Bison and Flex
Packaged Source Code
- Download the source code.
- Unpack the tarball:
gunzip kscope-VER.tar.gz
tar xvf kscope-VER.tar
where VER is KScope's version.
- Change directory to kscope-VER
- Run the configuration script:
./configure
- Compile KScope:
make
- Install KScope (as root):
make install
Note to FreeBSD users:
- Please use gmake instead of make
- 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
- Check out the source code.
- Change to the KScope directory.
- Create the configuration script:
make -f Makefile.cvs
- 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.