I am having problems building the latest nagios-plugins and nrpe daemon on
OpenFiler 2.3

The configure fails with the folowing:

configure: error: C preprocessor "/lib/cpp" fails sanity check
>

cpp seems to be balking at the file:
/usr/lib64/gcc/x86_64-unknown-linux/3.4.4/include/limits.h

from the config.log:

configure:4282: /lib/cpp  conftest.c
> In file included from
> /usr/lib64/gcc/x86_64-unknown-linux/3.4.4/include/syslimits.h:7,
>                  from
> /usr/lib64/gcc/x86_64-unknown-linux/3.4.4/include/limits.h:11,
>                  from conftest.c:12:
> /usr/lib64/gcc/x86_64-unknown-linux/3.4.4/include/limits.h:122:61:
> limits.h: No such file or directory
> configure:4288: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME "nagios-plugins"
> | #define PACKAGE_TARNAME "nagios-plugins"
> | #define PACKAGE_VERSION "1.4.13"
> | #define PACKAGE_STRING "nagios-plugins 1.4.13"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "nagios-plugins"
> | #define VERSION "1.4.13"
> | #define _GNU_SOURCE 1
> | /* end confdefs.h.  */
> | #ifdef __STDC__
> | # include <limits.h>
> | #else
> | # include <assert.h>
> | #endif
> |              Syntax error
>


I already installed glibc:devellib, but am I missing some other packages I
need to build this?

thanks

Alastair
_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users

Reply via email to