解答zabbix在configure時候遇到的問題(CentOS)
zabbix在configure時候遇到的問題(CentOS)為你解答:
在CentOS系統(tǒng)中,安裝zabbix進(jìn)行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進(jìn)行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 (此項未經(jīng)測試)
4 configure: error : Not found NET-SNMP library
- yum install net-snmp-devel
看完上面四點(diǎn)是不是一起也遇到相同的問題,那就按上的辦法解決吧!
【編輯推薦】