[转载]解决zabbix在configure时候遇到的问题(Ubuntu)

http://hi.baidu.com/ryq1xiuluo/item/6d37e658f1b90b13db16351d

./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurl 或

./configure --prefix=/usr/local/zabbix --enable-server --enable-proxy --enable-agent --with-mysql --with-net-snmp --with-libcurl --with-openipmi

  1. configure: error: MySQL library not found
      the problem is not installed mysql-devel
      #apt-get install  libghc6-hsql-mysql-dev (ubuntu )

  2. configure: error: Jabber library not found
      the problem is not installed jabber lib
      #apt-get install libphp-jabber
      #apt-get install libnet-jabber-loudmouth-perl
      #apt-get install jabber-dev
      #apt-get install libiksemel-dev  (* this packet important)

  3. configure: error: Not found curl Library
      the problem is not installed libcurl4-openssl-dev
      #apt-get install libcurl4-openssl-dev

  4. configure: error : Not found NET-SNMP library
      #apt-get install libsnmp-dev
      #apt-get install snmp

  5. Invalid OPENIPMI directory - unable to find ipmiif.h

         apt-get install openipmi openipmitool freeipmi-tools libopenipmi-dev

     6.msgfmt: command not found

        apt-get install gettext

另外,我在configure选项中添加了--enable-java,需要在服务器上安装java

原文地址:https://www.cnblogs.com/silenceli/p/3476755.html