[asterisk-users] What is bootstrap.sh for ? Possible bug in 11.3.0 ?

Olivier oza_4h07 at yahoo.fr
Mon May 6 17:54:45 CDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130507/96b06286/attachment.htm>


More information about the asterisk-users mailing list