[Nagiosplug-help] v1.3.1 plugins + RedHat 6.2 = `LC_NUMERIC' undeclared

'C. Bensend' benny at bennyvision.com
Fri Jul 18 07:56:10 CEST 2003


On Fri, Jul 18, 2003 at 08:56:13AM +0100, Voon, Ton wrote:
> 
> I think I may know what the problem is. Can you check if plugins/config.h
> has 
> 
> #define HAVE_LOCALE_H 1
> 
> If not, could you add it and then do a make in lib/.

Hey Ton,

	Thanks a bunch - that was the problem.  :)

--- plugins/config.h.orig	Fri Jul 18 09:52:12 2003
+++ plugins/config.h	Fri Jul 18 09:52:26 2003
@@ -8,6 +8,7 @@
 /* #undef HAVE_GETOPT_H */
 /* #undef HAVE_GETOPT_LONG */
 #define HAVE_GETTIMEOFDAY 1
+#define HAVE_LOCALE_H 1
 #define HAVE_LONGLONG 1
 #define HAVE_PROC_LOADAVG 1
 #define HAVE_PROC_MEMINFO 1

Woo!

Benny


-- 

"Corpsman: usually a young, long-haired, bearded, Marine hatin' Sailor
with certain medical skills, who will go through the very gates of hell to
get to a wounded Marine." - Major Gene Duncan, USMC Ret.




More information about the Help mailing list