[Nagiosplug-help] Plugins to compile selectable?
dermoth at aei.ca
Mon Feb 16 16:07:50 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
On 16/02/09 08:05 AM, Andreas Wehrmann wrote:
> Dear folks,
> I'm trying to compile the Nagiosplugins on the m68k Architecture but the
> compilation process always cancels when compiling the Plugin
> "check_disk". (Undefined reference to get_fs_usage()).
> However, I don't need this particular plugin anyway and wanted to ask if
> it is possible to tell ./configure which plugins to compile only.
> If it's not possible to tell what plugins to compile specifically, is
> there an easy way to exclude "check_disk" from the building process?
There's multiple ways:
1. Compile manually your plugins: "cd plugins; make check_stuff", etc.
You youll have to install them manually as well.
2. Remove referenced to check_disk from Makefile (or from Makefile.am
but you'll need a working installation of GNU auto* tools)
3 (haven't tried): use make -i (ignore errors)
BTW get_fs_usage() is from Gbulib. If you give more details on your OS I
can check if it should compile on it and possibly report a bug on their
ML. But first please be sure to try with both 1.4.13 and the latest
snapshot, as Gnulib was updated in the Nagios plugins recently.
Snapshots are available here:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Help