<div dir="ltr"><div><div>Hi,<br><br></div>Before trying to script res-memcached installation (see <a href="https://github.com/drivefast/asterisk-res_memcached">res_memcached</a>), I banged into this on a fresh 11.3.0 setup:<br>
<br></div>1. When run for the first time bootstrap.sh displays a non-blocking error.<br><div><br># sh -x bootstrap.sh <br>+ uname -sr<br>+ MY_AC_VER=<br>+ MY_AM_VER=<br>+ AUTOCONF_VERSION=2.60<br>+ AUTOMAKE_VERSION=1.9<br>
+ export AUTOCONF_VERSION<br>+ export AUTOMAKE_VERSION<br>+ check_for_app autoconf<br>+ autoconf --version<br>+ [ 0 != 0 ]<br>+ check_for_app autoheader<br>+ autoheader --version<br>+ [ 0 != 0 ]<br>+ check_for_app automake<br>
+ automake --version<br>+ [ 0 != 0 ]<br>+ check_for_app aclocal<br>+ aclocal --version<br>+ [ 0 != 0 ]<br>+ echo Generating the configure script ...<br>Generating the configure script ...<br>+ aclocal -I autoconf<br>+ autoconf<br>
<a href="http://configure.ac:102">configure.ac:102</a>: error: possibly undefined macro: AC_DEFINE<br>      If this token and others are legitimate, please use m4_pattern_allow.<br>      See the Autoconf documentation.<br>
+ autoheader<br>+ automake --add-missing --copy<br>+ exit 0<br># sh -x bootstrap.sh <br>+ uname -sr<br>+ MY_AC_VER=<br>+ MY_AM_VER=<br>+ AUTOCONF_VERSION=2.60<br>+ AUTOMAKE_VERSION=1.9<br>+ export AUTOCONF_VERSION<br>+ export AUTOMAKE_VERSION<br>
+ check_for_app autoconf<br>+ autoconf --version<br>+ [ 0 != 0 ]<br>+ check_for_app autoheader<br>+ autoheader --version<br>+ [ 0 != 0 ]<br>+ check_for_app automake<br>+ automake --version<br>+ [ 0 != 0 ]<br>+ check_for_app aclocal<br>
+ aclocal --version<br>+ [ 0 != 0 ]<br>+ echo Generating the configure script ...<br>Generating the configure script ...<br>+ aclocal -I autoconf<br>+ autoconf<br>+ autoheader<br>+ automake --add-missing --copy<br>+ exit 0<br>
<br><br></div><div>2. After running bootstrap.sh, ./configure fails with:<br>checking if &quot;int foo = DAHDI_ECHOCANCEL_FAX_MODE&quot; compiles using dahdi/user.h... no<br>checking for getifaddrs() support... yes<br>checking for timerfd support... yes<br>
checking for gsm_create in -lgsm... no<br>./configure: line 17928: syntax error near unexpected token `ILBC,&#39;<br>./configure: line 17928: `      PKG_CHECK_MODULES(ILBC, libilbc,&#39;<br><br></div><div>My questions are:<br>
<br></div><div>1. What is the purpose of bootstrap.sh ?<br></div><div>2. Is this a bug or a feature ?<br><br></div><div>Regards<br></div></div>