The K Desktop Environment

2.3. Compilation and installation

2.3.1. From a tarball

In order to compile and install Knapster on your system from a tarball, you will need to download the latest tarball and untar it.

% tar xzf knapster-XXXX.tar.gz

Next, cd into the base directory of the distribution and type the following:

% ./configure

% make

% make install

Since knapster uses autoconf and automake, you should have no problems compiling it as long as you have the correct libraries and development packages installed.

If the configure fails because it can not compile a small kde application, check that you have the Qt and KDE include files and that configure has found them in the configure output. It may be necessary to export QTDIR and KDEDIR and also KDECONFIG to the correct places before re-running configure.

Note that you must be root to perform the make install.

2.3.2. From an RPM

After downloading the correct RPM for your system, type the following:

% rpm -U knapster2-XXXX.rpm

If this fails because of dependency problems, check that the dependant files do exist. If they do, then rerun rpm with the added options of --nodeps.

For those who wish to install graphically, kpackage or gnomerpm can be used.