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


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 GTK+ port
-------------
The GUI of paco (gpaco) can be disabled with the option '--disable-gpaco'.
Use this option if your system lacks GTK+ >= 2.6, or you don't want to use the
GUI.


The program a2paco
------------------
a2paco is a shell script that creates paco logs from a local dpkg or rpm
database.
Use the option '--enable-a2paco' to install it.


The program pacoball
--------------------
pacoball creates binary packages from installed (and logged by paco) packages.
Use the option '--enable-pacoball' to install this shell script.


The program superpaco
---------------------
superpaco performs the installation of Debian, RPM or Slackware binary packages,
without requiring the use of dpkg, rpm or pkgtool.
Should you want the power of SuperPaco, just use the option
'--enable-superpaco', and it will be installed in the system.



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



*** Do NOT use paco to test its own installation ***
====================================================
Don't try this:

    paco -lp paco-1.10.2 "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

During the process that installs paco into the system, libtool removes the
libpaco-log shared library before installing the new one. This causes "make
install" to fail when trying to load it.


==
Send bugs or suggestions to David Rosal i Ricart <david.rosal@upf.edu>

