Page 1 of 1

Error installing Nagios 3.2.2

Posted: Wed Sep 15, 2010 4:25 pm
by Sandy
i'm installing nagios 3.2.2 in redhat 5.3

I have followed these initial steps:

yum -y install httpd
yum -y install gcc
yum -y install glibc glibc-common
yum -y install gd gd-devel

useradd -m nagios

groupadd nagcmd
usermod -a -G nagcmd nagios
usermod -a -G nagcmd apache

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

[root@CWP-VM-NAGIOS nagios-3.2.2]# ./configure --with-command-group=nagcmd
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

help me pls