Page 1 of 1

Error to install nagios 3.2.3

Posted: Tue Apr 24, 2018 2:30 pm
by jvasquez92
Hello there!, I need your help with the following problem:

Installing version 3.2.3 of Nagios does not let me enter the last command marked in black, I attached commands entered for installation:


# cd /root/Desktop/nagiosFiles/
# tar -zxvf nagios-3.2.3.tar.gz
# cd nagios-3.2.3
# ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagcmd -----with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios
*Confiure: error: no acceptable C compiler found in $PATH

Please help you solve the problem, or if I need an additional step to follow.
Thank you very much in advance.
Best regards,

Jorge Vásquez.

Re: Error to install nagios 3.2.3

Posted: Tue Apr 24, 2018 2:32 pm
by tmcdonald
It looks like you are missing a C compiler. Not sure what OS you are on, but you need to install gcc for this to work.

Re: Error to install nagios 3.2.3

Posted: Wed Apr 25, 2018 7:44 am
by jvasquez92
tmcdonald wrote:It looks like you are missing a C compiler. Not sure what OS you are on, but you need to install gcc for this to work.
Hello tmcdonald, I'm using Centos 6.9.

I inform you that I installed gcc, but I still get the same error.

Regards

Re: Error to install nagios 3.2.3

Posted: Wed Apr 25, 2018 4:35 pm
by scottwilkerson
You need these dependencies:

Code: Select all

yum install -y gcc glibc glibc-common make gettext automake autoconf wget openssl-devel net-snmp net-snmp-utils epel-release
yum install -y perl-Net-SNMP
https://support.nagios.com/kb/article/n ... tml#CentOS