I am trying to build a newer version of Zabbix (specifically the Zabbix agent) with a custom version of OpenWRT. I have been successful in building an older 6.0.x tagged version by changing the package source to the following and adding a "Package/Prepare/zabbix-bootstrap" section to bootstrap the autoconf files (Also below).
However, when attempting to use any commit tagged past version 6.0.x (6.4.x, 7.0.x, etc), the build/configure process complains "Unable to use libevent (libevent check failed)". I can see that there were some significant changes with the autoconf setup since the working version but I am not sure what could be causing this error in this build that did not cause it previously. Any advice on this general process and/or this error specifically is greatly appreciated.
Code:
PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=... PKG_SOURCE_VERSION:=126aa2f53e952d2e4a5a93b2c0eb54ffe6ac5303 PKG_MIRROR_HASH:=skip
Code:
define Build/Prepare/zabbix-bootstrap
cd $(PKG_BUILD_DIR) && ./bootstrap.sh
endef
define Build/Prepare
$(call Build/Prepare/Default)
$(call Build/Prepare/zabbix-bootstrap)
$(call Build/Prepare/zabbix-extra-mac80211)
endef
However, when attempting to use any commit tagged past version 6.0.x (6.4.x, 7.0.x, etc), the build/configure process complains "Unable to use libevent (libevent check failed)". I can see that there were some significant changes with the autoconf setup since the working version but I am not sure what could be causing this error in this build that did not cause it previously. Any advice on this general process and/or this error specifically is greatly appreciated.
Comment