Compilation and installation
Prev
Next

Compilation and installation

If you cannot obtain a suitable precompiled binary package, you need to compile KAlarm yourself from source files. Get the source package file kdepim-x.x.tar.bz2 or kalarm-x.x.tar.bz2 (or similar), depending on whether you want to install kdepim or just KAlarm. Unpack it in a new folder using a command similar to tar xvfj package.tar.bz2, and change to the folder which has been created.

In order to compile and install KAlarm on your system, type the following in the base directory of the KAlarm distribution:

% ./configure
% make
% make install

Since KAlarm uses autoconf and automake you should have no trouble compiling it. Should you run into problems please report them to the KDE mailing lists.

Note

If you have more than one version of KDE installed (e.g. KDE 2 and KDE 3), this may possibly install KAlarm into the wrong KDE folder. If necessary, you can give the KDE folder as a parameter to ./configure . For example, if your KDE is installed in /opt/kde2:

./configure --prefix=/opt/kde2

Warning

If you install KAlarm into a folder different from where KDE is installed, it will not run correctly unless you make its location known to KDE. To do this, you must prefix the KDEDIRS environment variable with KAlarm's location, each time before you start KDE.

For example, if KDE is installed in /opt/kde, KDEDIRS might normally be set to /etc/opt/kde:/opt/kde. If you install KAlarm into /usr/local, you would need to set KDEDIRS to /usr/local:/etc/opt/kde:/opt/kde before starting KDE.

The standalone version of KAlarm has a special configuration option which allows you to select which languages documentation is to be installed for by specifying a language code, or a list of language codes, as a parameter to ./configure. By default, documentation in all available languages is installed. A list of documentation languages included in the package, together with their codes, is in the DOC-LANGUAGES file. For example, to install only French and British English documentation:

./configure --enable-doc-language="fr en_GB"

Note that this option has no effect on which user interface translations are installed.

Prev
Next
Home


Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team