zabbix在configure時候遇到的問題(CentOS)為你解答:
在CentOS系統中,安裝zabbix進行configure時會遇到以下4個主要問題
./configure --enable-server --enable-agent --with-MySQL --with-net-snmp --with-jabber --with-libcurl
1 configure: error: mysql library not found
the problem is not installed mysql-devel
#yum install mysql-devel
2 configure: error: Jabber library not found
the problem is not installed jabber lib
#wget http://iksemel.googlecode.com/files/iksemel-1.4.tar.gz
下載下傳完成後解壓、配置、安裝:
tar zxvf iksemel-1.4.tar.gz cd iksemel-1.4 configure make make install
之後對zabbix進行configure還是會遇到這個問題,那麼将jabber目錄指定即可:#./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber=/usr/local/ --with-libcurl
3 configure: error: Not found curl Library
#yum install curl-devel (此項未經測試)
4 configure: error : Not found NET-SNMP library
yum install net-snmp-devel