dahdi-tools icon indicating copy to clipboard operation
dahdi-tools copied to clipboard

Cannot generate configure

Open nq4t opened this issue 3 years ago • 3 comments

autoreconf completely fails to generate a configure script.

astlab:/home/dewdude/dahdi-tools# autoreconf -i
configure.ac:177: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:177: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
acinclude.m4:30: AST_EXT_LIB_SETUP is expanded from...
configure.ac:177: the top level
configure.ac:178: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:178: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
acinclude.m4:30: AST_EXT_LIB_SETUP is expanded from...
configure.ac:178: the top level
configure.ac:179: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:179: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
acinclude.m4:30: AST_EXT_LIB_SETUP is expanded from...
configure.ac:179: the top level
configure.ac:180: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:180: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
acinclude.m4:30: AST_EXT_LIB_SETUP is expanded from...
configure.ac:180: the top level
configure.ac:82: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: error: /usr/bin/autoconf failed with exit status: 1

nq4t avatar Oct 14 '22 23:10 nq4t

What distro are you using?

InterLinked1 avatar Oct 15 '22 23:10 InterLinked1

autoreconf completely fails to generate a configure script.

aster:/usr/src/dahdi-tools# autoreconf -i
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'auxdir'.
libtoolize: copying file 'auxdir/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:66: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:66: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:66: the top level
configure.ac:69: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:69: You should run autoupdate.
./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from...
configure.ac:69: the top level
configure.ac:82: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:82: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:82: the top level
configure.ac:177: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:177: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
acinclude.m4:30: AST_EXT_LIB_SETUP is expanded from...
configure.ac:177: the top level
configure.ac:178: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:178: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
acinclude.m4:30: AST_EXT_LIB_SETUP is expanded from...
configure.ac:178: the top level
configure.ac:179: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:179: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
acinclude.m4:30: AST_EXT_LIB_SETUP is expanded from...
configure.ac:179: the top level
configure.ac:180: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:180: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
acinclude.m4:30: AST_EXT_LIB_SETUP is expanded from...
configure.ac:180: the top level
configure.ac:18: error: possibly undefined macro: AC_SUBST
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:174: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:219: error: possibly undefined macro: AC_DEFINE
configure.ac:223: error: possibly undefined macro: AC_MSG_NOTICE
autoreconf: error: /usr/bin/autoconf failed with exit status: 1

I use Ubuntu 22.04 distro

freezzorg avatar Nov 14 '23 11:11 freezzorg

Same problem

~/dahdi-tools-3.2.0 # autoreconf -i
configure.ac:15: error: AC_INIT should be called with package and version arguments
/usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:15: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
aclocal: error: /usr/bin/autom4te failed with exit status: 1
autoreconf: error: aclocal failed with exit status: 1

OS: Solus x86_64 Kernel: 6.5.11-263.current

AlexanderZhirov avatar Nov 23 '23 14:11 AlexanderZhirov