Nagios 3.x spews debug output on configuration verify on RHEL3 systems

Thomas Guyot-Sionnest dermoth at aei.ca
Wed Jan 14 21:57:04 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jmoseley at corp.xanadoo.com wrote:
> Should the patch below for RHEL3 systems be applied in the official source
> release or other documentation so that package maintainers can build RPM's
> with the below fix?

I ran into this as well... looks like old Perl includes define DEBUG.
This can be easily fixed by adding this line:
#undef DEBUG

right after #include <perl.h> in include/epn_nagios.h

IMHO it would be better though to s// all bare DEBUG's in the code to
something more unique like NAGIOS_DEBUG to avoid any similar issue in
the future. I can provide a full patch if Ethan is interested.


- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJblGg6dZ+Kt5BchYRAo6GAKC+dM2BeT5BzD01I8ApdnU0anjjEgCgklX/
BxjBptBLja++ntVRrEANzJ4=
=xUsR
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword




More information about the Developers mailing list