Hi,
I'm trying to update Nagios core 3.2.3 to 3.3.1 on CentOS 5.4, but command
# ./configure --with-command-group=nagcmd from folder nagios-3.3.1
reply me:
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... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
Omitted config.log:
/bin/uname -X = unknown
/bin/arch= x86_64
/usr/bin/arch -k= unknown
/usr/convex/getsysinfo = unknown
hostinfo= unknown
/bin/machine= unknown
/usr/bin/oslevel= unknown
/bin/universe= unknown
PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure checking for a BSD-compatible install
configure result: /usr/bin/install -c
configure checking build system type
configure result: x86_64-unknown-linux-gnu
configure checking host system type
configure result: x86_64-unknown-linux-gnu
configure checking for gcc
configure result: no
configure checking for cc
configure result: no
configure checking for cc
configure result: no
configure checking for cl
configure result: no
configure error: no acceptable C compiler found in $PATH
See `config.log' for more details.
Also command "make all" failed as well:
# make all
make: *** No rule to make target `all'. Stop.
Hope for your help,
Nick
CentOS 5.4 can't update Nagios - configure error
Re: CentOS 5.4 can't update Nagios - configure error
It appears you have no C compiler installed, running yum install gcc should fix this for you.
Re: CentOS 5.4 can't update Nagios - configure error
Thanks a lot! Excellent and correct suggestion!
Cheers
Cheers
Re: CentOS 5.4 can't update Nagios - configure error
You are welcome