Compiling SVN
From KatWiki
Compiling Kat from SVN
This page explains how Kat can be compiled from SVN.
Checkout
Kat can be checked out from SVN in two ways. As an (anonymous) tester/user or as a developer. The only difference between an anonymous checkout and a developer checkout is the call to the svn server. It's convenient to store this difference in a variable: SVN. For anonymous checkout we define 'SVN=svn://anonsvn
'. For a developer checkout, we define 'SVN=svn+ssh://$username@svn
', where $username
must be replaced with the name of the user.
A checkout is made with the following commands:
svn co -N $SVN.kde.org/home/kde/trunk/playground/base cd base svn co $SVN.kde.org/home/kde/branches/KDE/3.5/kde-common/admin svn co $SVN.kde.org/home/kde/trunk/playground/base/kat
Then, the checkout needs to be prepared. You need automake (>=1.6.1) and autoconf (>=2.53) for this. Unsermake is reported not to work at the time of writing. And, of course, you need the libraries on which Kat itself depends.
make -f Makefile.cvs mkdir debug && cd debug ../configure --enable-debug=full
Compiling Kat
To compile Kat then, you'll have to do:
cd kat make
If you encounter problems, which is likely to happen now and then in SVN, feel free to join in on the IRC channel (irc://#[email protected]/).
CLucene
You may want to use CLucene to use the extended capabilities of Kat. You can install CLucene with these commands:
export CVSROOT=:pserver:[email protected]:/cvsroot/clucene cvs checkout clucene ./autogen.sh ./configure --libdir=/usr/lib make sudo make install
Attention: the clucene library will be installed in /usr/lib, so you might have problems, if you've installed another clucene version already.