Compilation and Installation

Compilation and Installation

Knights uses autoconf and automake to ensure that compiling is easy. If for some reason Knights won't compile for you, help is available at the Knights Project website located at http://knights.sourceforge.net.

You must have the KDEDIR environment variable defined before you begin the installation. Without this, Knights will not be able to access it's resources! To add the KDEDIR environment variable, you need to edit your /etc/profile ( or ~/.bash_profile ) and add the line:

export KDEDIR="/usr"

...where /usr is your KDE's base directory.

Now, change the present working directory to the location where you unarchived Knights and type the following:

% ./configure
% make
% make install

Knights should now be installed and ready to go. You can type knights in a terminal to start the game, or create an icon for it and select that.

KDE Logo