→问题描述:
在编译nagios-plugins-1.4.8时,编译到checking for redhat spopen problem...就不动了,没有其它异常
→编译环境:
[root@mapp05 libexec]# cat /etc/issue
CentOS release 4.4 (Final)
Kernel \r on an \m
[root@mapp05 libexec]# make -v
GNU Make 3.80
[root@mapp05 libexec]# gcc -v
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
→解决办法:
cd nagios-plugins-1.4.8
./configure --prefix=/usr/local/nagios --enable-redhat-pthread-workaround --->关键就是这个参数
make all
make install
评论