[Nagiosplug-devel] [ nagiosplug-Bugs-912974 ] check_mysql compile does not use MYSQLINCLUDE
SourceForge.net
noreply at sourceforge.net
Thu Mar 18 12:52:14 CET 2004
Bugs item #912974, was opened at 2004-03-09 19:43
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=912974&group_id=29880
Category: Argument proccessing
Group: Release (specify)
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Arnold Cavazos, Jr. (abcjr)
>Assigned to: Ton Voon (tonvoon)
Summary: check_mysql compile does not use MYSQLINCLUDE
Initial Comment:
In both 1.3.1 and 1.4.0alpha1 specifying
--with-mysql=
sets
MYSQLINCLUDE =
properly, but MSQLINCLUDE does not get added to the
final include path. This causes the check_mysql plugin
to fail compiling.
This can be fixed by modifying line 254 of
nagios-plugins,1.4.0alpha1/configure.in to:
-CPPFLAGS="$_SAVEDCPPFLAGS"
+CPPFLAGS="$_SAVEDCPPFLAGS $MYSQLINCLUDE"
This can be fixed by modifying line 220 of
nagios-plugins-1.3.1/configure.in to:
-CPPFLAGS="$_SAVEDCPPFLAGS"
+CPPFLAGS="$_SAVEDCPPFLAGS $MYSQLINCLUDE"
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-03-18 20:51
Message:
Logged In: YES
user_id=664364
Arnold,
Thanks for the patch. The changes are in configure.in v1.106 for r1.4 and
v1.47.2.9 for r1.3.1.
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=912974&group_id=29880
More information about the Devel
mailing list