" make all " throwing errors

i am following quick installation guide to install nagios on fedora 12 machine ( virtual box )

things went smooth till ( including ) command
./configure --with-command-group=nagcmd

after this when i am trying to run
make all

i am getting following error::

cd ./base && make
make[1]: Entering directory ‘/root/downloads/nagios-3.2.0/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.0/base’
make: *** [all] Error 2

Please help with this error.


what’s the output of config? does it give any errors? or is it finishing correctly and saying to make all ?

I got a similar error when I tried to make without sudo.

This answer already delay but help others in the future.
Try to install perl in your machine
yum -y install perl

1 Like