Error installing Nagios 3.2.2

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Sandy
Posts: 5
Joined: Mon Sep 13, 2010 4:09 pm

Error installing Nagios 3.2.2

Post 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
Locked