+------------------------------+
| Building and installing paco |
+------------------------------+


Configure options
=================
You can get a summary of all configuration options with './configure --help'.
Some of them are explained below:


The prefix
----------
By default, paco is installed in prefix /usr/local. If you prefer a different
one, like /usr, use the '--prefix' configure option. For example like this:

    ./configure --prefix=/usr


The system-wide configuration directory
---------------------------------------
By default, the configuration file pacorc is installed in directory PREFIX/etc.
If you prefer a different one, like /etc, use the '--sysconfdir' configure
option.


The default log directory
-------------------------
By default, paco will store its logs in directory /var/log/paco. If you prefer a
different location, use the configure option '--with-paco-logdir=DIR'.
This will be the default log directory, but it's possible to specify a different
one in runtime, by setting the LOGDIR variable in the configuration file, or
using the paco command line option '--logdir=DIR'.


The GUI
-------
The GUI of paco (gpaco) can be disabled with the option '--disable-gpaco'.
Use this option if your system lacks GTKMM >= 2.12, or you don't want to use the
GUI.


The auxiliary scripts
---------------------
If the option '--enable-scripts' is passed to configure, a set of auxiliary
scripts will be installed.
Look at README for more information.


Compiling and installing paco
=============================
Once you have choosen the appropiate options, just type the following to install
paco:

   ./configure [OPTIONS]
   make
   make install           # as root



Logging the installation of paco itself
=======================================
To log the own installation of paco, type the following command as root,
right after "make install":

	make logme

Don't try this:

    paco -lp paco-x.y.z "make install"

from the paco sources directory, because the install process will fail,
printing an error message, more or less like this:

    error while loading shared libraries: /usr/lib/libpaco-log.so: cannot open
    shared object file: No such file or directory


~~
Send bugs or suggestions to David Rosal <shin@tinet.cat>

