Page 1 of 1

Error compiling Nagios Core

Posted: Wed Dec 22, 2010 4:14 pm
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 :)

Re: Error compiling Nagios Core

Posted: Wed Dec 22, 2010 4:28 pm
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. :)

Re: Error compiling Nagios Core

Posted: Tue Jan 04, 2011 5:05 am
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