./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl
here’s some errors i had while compiling zabbix on ubuntu 9.10 and how to fix them
mysql
| flag |
--with-mysql |
| error |
configure: error: MySQL library not found |
| fix |
sudo apt-get install libmysqlclient-dev |
jabber
| flag |
--with-jabber |
| error |
checking for IKSEMEL... configure: error: Jabber library not found |
| fix |
sudo apt-get install libiksemel-dev |
libcurl
| flag |
--with-libcurl |
| error |
configure: error: Curl library not found |
| fix |
sudo apt-get install libcurl4-openssl-dev |
snmp
| flag |
--with-net-snmp |
| error |
configure: error: Not found NET-SNMP library |
| fix |
sudo apt-get install libsnmp-dev |
openipmi
| flag |
--with-openipmi |
| error |
configure: error: Invalid OPENIPMI directory - unable to find ipmiif.h |
| fix |
sudo apt-get install libopenipmi-dev |