Hi,
Before trying to script res-memcached installation (see
res_memcached<https://github.com/drivefast/asterisk-res_memcached>),
I banged into this on a fresh 11.3.0 setup:
1. When run for the first time bootstrap.sh displays a non-blocking error.
# sh -x bootstrap.sh
+ uname -sr
+ MY_AC_VER=
+ MY_AM_VER=
+ AUTOCONF_VERSION=2.60
+ AUTOMAKE_VERSION=1.9
+ export AUTOCONF_VERSION
+ export AUTOMAKE_VERSION
+ check_for_app autoconf
+ autoconf --version
+ [ 0 != 0 ]
+ check_for_app autoheader
+ autoheader --version
+ [ 0 != 0 ]
+ check_for_app automake
+ automake --version
+ [ 0 != 0 ]
+ check_for_app aclocal
+ aclocal --version
+ [ 0 != 0 ]
+ echo Generating the configure script ...
Generating the configure script ...
+ aclocal -I autoconf
+ autoconf
configure.ac:102: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
+ autoheader
+ automake --add-missing --copy
+ exit 0
# sh -x bootstrap.sh
+ uname -sr
+ MY_AC_VER=
+ MY_AM_VER=
+ AUTOCONF_VERSION=2.60
+ AUTOMAKE_VERSION=1.9
+ export AUTOCONF_VERSION
+ export AUTOMAKE_VERSION
+ check_for_app autoconf
+ autoconf --version
+ [ 0 != 0 ]
+ check_for_app autoheader
+ autoheader --version
+ [ 0 != 0 ]
+ check_for_app automake
+ automake --version
+ [ 0 != 0 ]
+ check_for_app aclocal
+ aclocal --version
+ [ 0 != 0 ]
+ echo Generating the configure script ...
Generating the configure script ...
+ aclocal -I autoconf
+ autoconf
+ autoheader
+ automake --add-missing --copy
+ exit 0
2. After running bootstrap.sh, ./configure fails with:
checking if "int foo = DAHDI_ECHOCANCEL_FAX_MODE" compiles using
dahdi/user.h... no
checking for getifaddrs() support... yes
checking for timerfd support... yes
checking for gsm_create in -lgsm... no
./configure: line 17928: syntax error near unexpected token `ILBC,'
./configure: line 17928: ` PKG_CHECK_MODULES(ILBC, libilbc,'
My questions are:
1. What is the purpose of bootstrap.sh ?
2. Is this a bug or a feature ?
Regards
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users