解压  ./configure 后  进行make all  就开始报错。

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


解决办法:执行  yum -y install  perl  后再./configure  即可正常编译安装。