[Nagios-devel] Patch for NDOUtils 1.4b2 with RHEL4 64-bit and MySQL

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Patch for NDOUtils 1.4b2 with RHEL4 64-bit and MySQL

Post by Guest »

This is a multi-part message in MIME format.
--------------030901020101040806010506
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


When using ./configure on RHEL4 64bit, I was getting:

*** MySQL library could not be located... **************************

Using ./configure --with-mysql-lib=/usr/lib/mysql didn't work because
there is a bug in configure. Attached is a patch.

Alex




--------------030901020101040806010506
Content-Type: text/plain;
name="ndoutils-64bit-configure-patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="ndoutils-64bit-configure-patch"

--- configure.old 2007-01-19 15:34:39.000000000 -0500
+++ configure 2007-04-06 17:44:37.000000000 -0400
@@ -5897,8 +5897,7 @@
DBLDFLAGS="-L${withval}"
LD_RUN_PATH="${withval}${LD_RUN_PATH:+:}${LD_RUN_PATH}"

-fi;
-if test "x$withval" != "xno" ; then
+else
DBLDFLAGS="$LDFLAGS -L/usr/lib/mysql"
fi


--------------030901020101040806010506--





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked