Building Zabbix 2.2.5 agent from source, running ./configure --enable-agent, then make, on OpenBSD 5.4 fails with following error:
The quick’n’dirty solution is to apply following small patch. The first part of it changes agent user from default zabbix to _zabbix.
This is the user that is used by Zabbix agent from ports. Let’s assume we already have Zabbix client installed from ports (current version is 2.0.8),
but we would like to use full functionality of Zabbix 2.2 tree.
To install run make install. Warning, this will overwrite existing Zabbix agent port installation in /usr/local/.