Error Make all on Centos minimal 6.3

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
drumasuc
Posts: 2
Joined: Wed Jul 18, 2012 1:01 am

Error Make all on Centos minimal 6.3

Post by drumasuc »

I try to install Nagios (the last core version from site) and when i do make all I recive:

[root@localhost nagios]# make all
cd ./base && make
make[1]: Entering directory `/root/nagios/base'
make[1]: *** No rule to make target `../include/locations.h', needed by `broker. o'. Stop.
make[1]: Leaving directory `/root/nagios/base'
make: *** [all] Error 2
[root@localhost nagios]#

Until this I updated all system with yum update.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Error Make all on Centos minimal 6.3

Post by agriffin »

Have you installed the necessary dependencies before building Nagios? You'll need: Apache, PHP, GCC compiler, GD development libraries, SSL development libraries.
drumasuc
Posts: 2
Joined: Wed Jul 18, 2012 1:01 am

Re: Error Make all on Centos minimal 6.3

Post by drumasuc »

Yes.
I followed the steps for installing Nagios - http://nagios.sourceforge.net/docs/3_0/ ... edora.html
This si not the firts time when deploy nagios but this is the first time when a have this error.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Error Make all on Centos minimal 6.3

Post by agriffin »

Have you installed Nagios on a CentOS system like this before? You may need to manually specify library paths or something.
Locked