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.
Error to install nagios 3.2.3
Re: Error to install nagios 3.2.3
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.
Former Nagios employee
-
jvasquez92
- Posts: 3
- Joined: Tue Apr 24, 2018 2:14 pm
Re: Error to install nagios 3.2.3
Hello tmcdonald, I'm using Centos 6.9.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.
I inform you that I installed gcc, but I still get the same error.
Regards
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Error to install nagios 3.2.3
You need these dependencies:
https://support.nagios.com/kb/article/n ... tml#CentOS
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