Getting error in /configure here are details

[root@raca18 nagios-plugins-1.4.13]# more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by nagios-plugins configure 1.4.13, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure

---------

Platform.

---------

hostname = raca18.mtrmtl.com
uname -m = ppc64
uname -r = 2.6.9-78.0.1.EL
uname -s = Linux
uname -v = #1 SMP Tue Jul 22 17:59:01 EDT 2008

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

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

PATH: /opt/csm/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin

-----------

Core tests.

-----------

configure:2397: checking for a BSD-compatible install
configure:2453: result: /usr/bin/install -c
configure:2464: checking whether build environment is sane
configure:2507: result: yes
configure:2572: checking for gawk
configure:2588: found /bin/gawk
configure:2599: result: gawk
configure:2610: checking whether make sets $(MAKE)
configure:2631: result: yes
configure:2823: checking build system type
configure:2841: result: powerpc64-unknown-linux-gnu
configure:2863: checking host system type
configure:2878: result: powerpc64-unknown-linux-gnu
configure:2984: checking for gcc
configure:3000: found /usr/bin/gcc
configure:3011: result: gcc
configure:3249: checking for C compiler version
configure:3256: gcc --version >&5
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10)
Copyright © 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3259: $? = 0
configure:3266: gcc -v >&5
Reading specs from /usr/lib/gcc/ppc64-redhat-linux/3.4.6/specs
Configured with: …/configure --prefix=/usr --mandir=/usr/share/man --infodir=/u
sr/share/info --enable-shared --enable-threads=posix --disable-checking --with-s
ystem-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-aw
t=gtk --host=ppc64-redhat-linux --build=ppc64-redhat-linux --target=ppc64-redhat
-linux --with-cpu=default32
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-10)
configure:3269: $? = 0
configure:3276: gcc -V >&5
gcc: -V' option must have argument configure:3279: $? = 1 configure:3302: checking for C compiler default output file name configure:3329: gcc conftest.c >&5 ***/usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status configure:3332: $? = 1 configure:3370: result:***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" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3377: error: C compiler cannot create executables Seeconfig.log’ for more details.

Check this, it might help:
ubuntuforums.org/showthread.php?t=17033