SuSE installation


I am trying to install Nagios and I get this error message in the config.log. Any help would be appreciated.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure --with-command-group=nagcmd




hostname = nagios
uname -m = i686
uname -r =
uname -s = Linux
uname -v = #1 Tue Feb 13 09:35:18 UTC 2007

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/sbin
PATH: /opt/gnome/sbin
PATH: /root/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /bin
PATH: /usr/games
PATH: /opt/gnome/bin
PATH: /opt/kde3/bin
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin


Core tests.


configure:1352: checking for a BSD-compatible install
configure:1407: result: /usr/bin/install -c
configure:1426: checking build system type
configure:1444: result: i686-pc-linux-gnu
configure:1452: checking host system type
configure:1466: result: i686-pc-linux-gnu
configure:1521: checking for gcc
configure:1537: found /usr/bin/gcc
configure:1547: result: gcc
configure:1791: checking for C compiler version
configure:1794: gcc --version </dev/null >&5
gcc (GCC) 4.1.0 (SUSE Linu:evil:
Copyright © 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO

configure:1797: $? = 0
configure:1799: gcc -v </dev/null >&5
Using built-in specs.
Target: i586-suse-linux
Configured with: …/configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp --disable-libssp --enable-java-awt=gtk --enable-gtk-cairo --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --without-system-libunwind --with-cpu=generic --host=i586-suse-linux
Thread model: posix
gcc version 4.1.0 (SUSE Linu:evil:
configure:1802: $? = 0
configure:1804: gcc -V </dev/null >&5
gcc: ‘-V’ option must have argument
configure:1807: $? = 1
configure:1830: checking for C compiler default output file name
configure:1833: gcc conftest.c >&5
configure:1836: $? = 0
configure:1882: result: a.out
configure:1887: checking whether the C compiler works
configure:1893: ./a.out
configure:1896: $? = 0
configure:1913: result: yes
configure:1920: checking whether we are cross compiling
configure:1922: result: no
configure:1925: checking for suffix of executables
configure:1927: gcc -o conftest conftest.c >&5
configure:1930: $? = 0
configure:1955: result:
configure:1961: checking for suffix of object files
configure:1982: gcc -c conftest.c >&5
configure:1985: $? = 0
configure:2007: result: o
configure:2011: checking whether we are using the GNU C compiler
configure:2035: gcc -c conftest.c >&5
configure:2041: $? = 0
configure:2045: test -z
|| test ! -s conftest.err
configure:2048: $? = 0
configure:2051: test -s conftest.o
configure:2054: $? = 0
configure:2067: result: yes
configure:2073: checking whether gcc accepts -g
configure:2094: gcc -c -g conftest.c >&5
configure:2100: $? = 0
configure:2104: test -z
|| test ! -s conftest.err
configure:2107: $? = 0
configure:2110: test -s conftest.o
configure:2113: $? = 0
configure:2124: result: yes
configure:2141: checking for gcc option to accept ANSI C
configure:2211: gcc -c -g -O2 conftest.c >&5
configure:2217: $? = 0
configure:2221: test -z
|| test ! -s conftest.err
configure:2224: $? = 0
configure:2227: test -s conftest.o
configure:2230: $? = 0
configure:2248: result: none needed
configure:2266: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before 'me’
configure:2272: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2405: checking whether make sets $(MAKE)
configure:2425: result: yes
configure:2436: checking for strip