zabbix在configure时候遇到的问题

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.  

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

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值