zabbix在configure时候遇到的问题

来源:互联网 发布:手工制作 知乎 编辑:程序博客网 时间:2024/04/30 07:58

zabbixconfigure时候遇到的问题(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

  1. #yum install mysql-devel  
  2.  

2 configure: error: Jabber library not found

the problem is not installed jabber lib

  1. #wget http://iksemel.googlecode.com/files/iksemel-1.4.tar.gz  
  2.  

下载完成后解压、配置、安装:

  1. tar zxvf iksemel-1.4.tar.gz  
  2.  
  3. cd iksemel-1.4  
  4.  
  5. configure  
  6.  
  7. make  
  8.  
  9. make install  
  10.  

之后对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

  1. #yum install curl-devel (此项未经测试)  
  2.  

4 configure: error : Not found NET-SNMP library

  1. yum install net-snmp-devel  
  2.  

看完上面四点是不是一起也遇到相同的问题,那就按上的办法解决吧!

0 0