1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
+------------------------------+
| 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>
|