problems building nagios 3.0rc3
Ethan Galstad
nagios at nagios.org
Mon Mar 10 21:53:15 CET 2008
Adrian Miranda wrote:
> 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
Thanks for the note Adrian - this will be in CVS shortly.
>
>
> 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
>
Ethan Galstad
Nagios Developer
___
Email: nagios at nagios.org
Web: www.nagios.org
-------------------------------------------------------------------------
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