Next: Installing, Previous: Bootstrapping, Up: Installation [Contents][Index]
To configure the package, run configure from its top-level
source directory. If you prefer to build the package in a separate
directory (e.g. build located within the package top-level
directory), change to that directory and run configure via
its relative path, e.g.:
mkdir build cd build ../configure
For a detailed discussion of generic configure options,
refer to See Running configure Scripts in Autoconf. The
rest of this section concerns configure options specific
for configuring mfmod_openmetrics.
By default, configure prepares the module parts to be installed in
the library and module directories used by mailfromd. To find these
directories, configure will invoke mailfromd. This
means that it should be able to find mailfromd using the PATH
environment variable. If it isn’t the case, supply the modified
PATH as argument to configure, like that:
./configure PATH=/usr/local/sbin:$PATH
If the need be, you can select the installation directories manually, using the following two command line options:
Install loadable library (mfmod_openmetrics.so) in dir.
Install interface module (openmetrics.mfl) in dir.
It is advisable to configure the module so as to use the system
configuration directory used by the mailfromd server. For
example, if your mailfromd looks for configuration in
/etc/mailfromd, do:
./configure --sysconfdir=/etc/mailfromd
This will set the location where the module will look for its configuration file (see Configuration).
If you are unsure what system configuration directory your
mailfromd installation uses, run
mailfromd --no-config --show-defaults
and examine the ‘script file search path:’ line. The domain part of its first element is the system configuration directory.
Next: Installing, Previous: Bootstrapping, Up: Installation [Contents][Index]