From 5cb5b41bdd8fc01f2bd808c5eb75b8f4095a8520 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 26 Oct 2007 15:07:50 +0200 Subject: [PATCH] README: Added section about configuring, building and installing collectd. This section contains basic information about the "--enabled-" configuration option as well as adopting the installation target. Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- README | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README b/README index 56dee295..37eee3ea 100644 --- a/README +++ b/README @@ -306,6 +306,29 @@ Prerequisites particular. +Configuring / Compiling / Installing +------------------------------------ + + To configure, build and install collectd with the default settings, run + `./configure && make && make install'. For detailed, generic instructions + see INSTALL. For a complete list of configure options and their description, + run `./configure --help'. + + By default, the configure script will check for all build dependencies and + disable all plugins whose requirements cannot be fulfilled (any other plugin + will be enabled). To enable a plugin, install missing dependencies (see + section `Prerequisites' above) and rerun `configure'. If you specify the + `--enable-' configure option, you can force the plugin to be built. + This will most likely fail though unless you're working in a very unusual + setup and you really know what you're doing. + + By default, collectd will be installed into `/opt/collectd'. You can adjust + this setting by specifying the `--prefix' configure option - see INSTALL for + details. If you pass DESTDIR= to `make install', will be + prefixed to all installation directories. This might be useful when creating + packages for collectd. + + Crosscompiling -------------- -- 2.30.2