<br clear="all">
<div></div>
<div>Hello Nagios Experts,</div>
<div> </div>
<div>While installing Nagios Plugins 1.4.9 i see the following errors :</div>
<div> </div>
<div> </div>
<div># ./configure --libexecdir=/usr/lib/nagios/plugins --with-nagios-user=nagios --with-nagios-group=nagios<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether build environment is sane... yes<br>
checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>checking build system type... x86_64-unknown-linux-gnu<br>checking host system type... x86_64-unknown-linux-gnu<br>checking for gcc... gcc<br>checking for C compiler default output file name... a.out<br>
checking whether the C compiler works... configure: error: cannot run C compiled programs.<br>If you meant to cross compile, use `--host'.<br>See `config.log' for more details.</div>
<div> </div>
<div>Then check config .log :</div>
<div> </div>
<div>The CORE TEST portion shows :</div>
<div> </div>
<div>## ----------- ##<br>## Core tests. ##<br>## ----------- ##</div>
<div>configure:1626: checking for a BSD-compatible install<br>configure:1681: result: /usr/bin/install -c<br>configure:1692: checking whether build environment is sane<br>configure:1735: result: yes<br>configure:1800: checking for gawk<br>
configure:1816: found /bin/gawk<br>configure:1826: result: gawk<br>configure:1836: checking whether make sets $(MAKE)<br>configure:1856: result: yes<br>configure:2032: checking build system type<br>configure:2050: result: x86_64-unknown-linux-gnu<br>
configure:2058: checking host system type<br>configure:2072: result: x86_64-unknown-linux-gnu<br>configure:2162: checking for gcc<br>configure:2178: found /usr/bin/gcc<br>configure:2188: result: gcc<br>configure:2432: checking for C compiler version<br>
configure:2435: gcc --version </dev/null >&5<br>gcc32 (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3)<br>Copyright (C) 2002 Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions.  There is NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</div>
<div>configure:2438: $? = 0<br>configure:2440: gcc -v </dev/null >&5<br>Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs<br>Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enab<br>
le-__cxa_atexit --enable-languages=c,c++ --disable-libgcj --host=x86_64-redhat-linux<br>Thread model: posix<br>gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3)<br>configure:2443: $? = 0<br>configure:2445: gcc -V </dev/null >&5<br>
gcc32: argument to `-V' is missing<br>configure:2448: $? = 1<br>configure:2471: checking for C compiler default output file name<br>configure:2474: gcc    conftest.c  >&5<br>/usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a when searching for -lgcc<br>
/usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a when searching for -lgcc<br>/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtbegin.o' is incompatible with i386:x86-64 output<br>
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtend.o' is incompatible with i386:x86-64 output<br>configure:2477: $? = 0<br>configure:2523: result: a.out<br>configure:2528: checking whether the C compiler works<br>
configure:2534: ./a.out<br>./configure: line 2535: 23494 Segmentation fault      ./$ac_file<br>configure:2537: $? = 139<br>configure:2546: error: cannot run C compiled programs.<br></div>
<div>Any help would be highly appreciated.</div>
<div> </div>
<div> </div>
<div>Thanks in Adv<br>-- <br>Anirudh Srinivasan<br><br></div>