[Slackbuilds-users] Slackbuild for nagios 3.x
Greg Martin
gmartin at gmartin.org
Wed Jul 9 18:24:33 UTC 2008
Here's the pertinent info from 'configure --help'
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local/nagios]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/nagios/bin', `/usr/local/nagios/lib' etc. You can specify
an installation prefix other than `/usr/local/nagios' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data
[PREFIX/share]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data
[PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--infodir=DIR info documentation [PREFIX/info]
--mandir=DIR man documentation [PREFIX/man]
Cherife Li wrote:
> On 07/10/08 01:31, Greg Martin wrote:
>> Another question I have. The --prefix in Stefano's script points to
>> /usr/lib/nagios. What would be appropriate for that?
>> /usr/share/nagios?
> You may have a look at their Makefile. The install target mess up things.
> This is the upstream issue. I think the nagios dev team only suppose
> you to prefix with /usr/local/nagios.
More information about the SlackBuilds-users
mailing list