http://www.shangxueba.com/jingyan/121655.html
在安装zabbix时出现了下面的错误:
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/zabbix-2.2.10':
configure: error: no acceptable C compiler found in $PATH
解决方法:
yum install gcc
编译过程中还有个错误:
configure: error: Not found curl Library
configure: error : Not found NET-SNMP library
http://os.51cto.com/art/201104/252989.htm
yum install curl-devel
yum install net-snmp-devel
configure: error: MySQL library not found
原因是--with-sql命令行引起,解放方法是:
安装sql-dev
或是 --with-sql 不加任何参数
本文转自 zhangfang526 51CTO博客,原文链接:http://blog.51cto.com/zhangfang526/1709173