Steps to reproduce:
- Configure
# CC=/usr/bin/gcc PATH=/usr/local/bin:/usr/local/sbin:/usr/local/ia64/bin/gcc:$PATH ./configure --enable-agent --with-libpcre=/usr/local/pcre-8.45
- Build
# make
Result:
# make No suffix list. Making all in src No suffix list. Making all in libs No suffix list. Making all in zbxcrypto cd ../../.. && make am--refresh No suffix list. CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/zabbix-4.0.47/missing' aclocal-1.16 -I m4 configure.ac:1525: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd m4/libxml2.m4:20: LIBXML2_CHECK_CONFIG is expanded from... configure.ac:1525: the top level configure.ac:1731: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd m4/libopenssl.m4:75: LIBOPENSSL_CHECK_CONFIG is expanded from... configure.ac:1731: the top level configure.ac:1828: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd m4/pcre.m4:29: LIBPCRE_CHECK_CONFIG is expanded from... configure.ac:1828: the top level cd . && /bin/sh /zabbix-4.0.47/missing automake-1.16 --gnu configure.ac:1525: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd m4/libxml2.m4:20: LIBXML2_CHECK_CONFIG is expanded from... configure.ac:1525: the top level configure.ac:1731: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd m4/libopenssl.m4:75: LIBOPENSSL_CHECK_CONFIG is expanded from... configure.ac:1731: the top level configure.ac:1828: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd m4/pcre.m4:29: LIBPCRE_CHECK_CONFIG is expanded from... configure.ac:1828: the top level CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/zabbix-4.0.47/missing' autoconf configure.ac:1525: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd m4/libxml2.m4:20: LIBXML2_CHECK_CONFIG is expanded from... configure.ac:1525: the top level configure.ac:1731: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd m4/libopenssl.m4:75: LIBOPENSSL_CHECK_CONFIG is expanded from... configure.ac:1731: the top level configure.ac:1828: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd m4/pcre.m4:29: LIBPCRE_CHECK_CONFIG is expanded from... configure.ac:1828: the top level configure.ac:183: error: possibly undefined macro: AC_MSG_ERROR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. *** Error exit code 1
In addition, build has been succeeded in Zabbix 4.0.47rc1 with same environment and same configure options. Is this environment specific issue?
Expected:
Build success.