Error compiling Nagios Core

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
magnifor
Posts: 2
Joined: Wed Dec 22, 2010 4:11 pm

Error compiling Nagios Core

Post by magnifor »

Hi,

I am following the Fedora Quickstart and i am facing problems with compiling. I did exactly the same as in the guide, i get this error


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

I am using Fedore Core 14, could that be the case?

Thanks for helping :)
magnifor
Posts: 2
Joined: Wed Dec 22, 2010 4:11 pm

Re: Error compiling Nagios Core

Post by magnifor »

Okay, i found the solution i think. Go to the include folder, make a copy from locations.h.in and rename the new file to locations.h. Then it should compile. :)
wille
Posts: 1
Joined: Tue Jan 04, 2011 4:48 am

Re: Error compiling Nagios Core

Post by wille »

hi, i got problem on Install the Nagios web config file in the Apache conf.d directory.
when i run on 'make install-webconf'
I get the following error Make: ***No rule to make target 'install-webconf'. Stop
i try on 'cat Makefile | sed -e 's/httpd/apache2/' > Makefile'
and recompile again and i only manage to run ./configure ,
when run on make command (make all, make install,etc) i will get error No rule to make target 'all'. stop

kindly assist,thanks
wille
Locked