problems building nagios 3.0rc3
Adrian Miranda
ade at pdx.edu
Wed Feb 27 19:32:04 CET 2008
I have had two problems building both 3.0rc2 and 3.0rc3. Both problems
seem to be related to glib libraries and include files. They may be
caused by our non-standard systems (redhat enterprise 4, but using
openpkg packages to replace many standard redhat packages. Not
something I have control over.)
First, at configure.in line 525, there are the following lines:
GLIB_LIBS=`pkg-config --libs glib-2.0`
AC_SUBST(GLIB_LIBS)
if test x$GLIB_LIBS != x; then
If pkg-config returns more than one entry, the test fails. Enclosing it
in quotes as follows will fix it:
if test "x$GLIB_LIBS" != x; then
I apologize if there is a better way to fix it.
The other problem is probably related, but I don't really understand how
to fix it. On our non-standard systems, running:
pkg-config --cflags glib-2.0
Returns "-I/usr/local/include/glib2 -I/usr/local/lib/glib2/include".
Unfortunately, we need to also have "-I/usr/local/include" for other
things like libGD. Even if I run:
configure --includedir=/usr/local/include
The -I/usr/local/include does not get passed to cgi/Makefile. As a
result, building the cgi programs fails. It kind of seems like using
--includedir should cause it to be passed to various Makefiles?
Please let me know if I can explain these problems better.
Adrian
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
More information about the Developers
mailing list