openbmc/phosphor-host-ipmid

bootstrap.sh prompts: Run "./configure ${CONFIGURE_FLAGS} && make" even if it fails.

drewmacrae opened this issue · 0 comments

When bootstrap.sh is missing dependencies like libtool, automake, or autoconf-archive it will fail but will prompt to run the command:
Run "./configure ${CONFIGURE_FLAGS} && make"
though it's not appropriately prepared.

drewmacrae@drewdle:~/phosphor-host-ipmid$ ./bootstrap.sh configure.ac:24: installing './ar-lib' configure.ac:23: installing './compile' configure.ac:5: installing './install-sh' configure.ac:5: installing './missing' Makefile.am:169: error: Libtool library used but 'LIBTOOL' is undefined Makefile.am:169: The usual way to define 'LIBTOOL' is to add 'LT_INIT' Makefile.am:169: to 'configure.ac' and run 'aclocal' and 'autoconf' again. Makefile.am:169: If 'LT_INIT' is in 'configure.ac', make sure Makefile.am:169: its definition is in aclocal's search path. Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' libipmid-host/Makefile.am:2: error: Libtool library used but 'LIBTOOL' is undefi ned libipmid-host/Makefile.am:2: The usual way to define 'LIBTOOL' is to add 'LT_I NIT' libipmid-host/Makefile.am:2: to 'configure.ac' and run 'aclocal' and 'autoconf ' again. libipmid-host/Makefile.am:2: If 'LT_INIT' is in 'configure.ac', make sure libipmid-host/Makefile.am:2: its definition is in aclocal's search path. libipmid/Makefile.am:13: error: Libtool library used but 'LIBTOOL' is undefined libipmid/Makefile.am:13: The usual way to define 'LIBTOOL' is to add 'LT_INIT' libipmid/Makefile.am:13: to 'configure.ac' and run 'aclocal' and 'autoconf' ag ain. libipmid/Makefile.am:13: If 'LT_INIT' is in 'configure.ac', make sure libipmid/Makefile.am:13: its definition is in aclocal's search path. user_channel/Makefile.am:16: error: Libtool library used but 'LIBTOOL' is undefi ned user_channel/Makefile.am:16: The usual way to define 'LIBTOOL' is to add 'LT_I NIT' user_channel/Makefile.am:16: to 'configure.ac' and run 'aclocal' and 'autoconf ' again. user_channel/Makefile.am:16: If 'LT_INIT' is in 'configure.ac', make sure user_channel/Makefile.am:16: its definition is in aclocal's search path. autoreconf: automake failed with exit status: 1 Run "./configure ${CONFIGURE_FLAGS} && make"