天天看点

configure: error: no acceptable C compiler found in $PATH

<a href="http://www.shangxueba.com/jingyan/121655.html" target="_blank">http://www.shangxueba.com/jingyan/121655.html</a>

在安装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

<a href="http://os.51cto.com/art/201104/252989.htm" target="_blank">http://os.51cto.com/art/201104/252989.htm</a>

configure: error: MySQL library not found

原因是--with-sql命令行引起,解放方法是:

安装sql-dev

或是  --with-sql 不加任何参数

本文转自 zhangfang526 51CTO博客,原文链接:http://blog.51cto.com/zhangfang526/1709173

上一篇: L2TP -updating
下一篇: Linux Iptables

继续阅读