configure.ac:24: error: possibly undefined macro: AC_COIN_INITIALIZE
itsmathtime opened this issue · comments
I am new to autotools, and struggeling.
As I understand the build system, to add a new source file, I should add it to Makefile.am
and then run autotools, but running autotools fails. I guess this is standard autotools stuff, but I could not find any information on how to get past the AC_COIN_INITIALIZE
error online.
When I run autoreconf
in the root of the project, I get the following output:
~/dev/Ipopt$ autoreconf
configure.ac:24: error: possibly undefined macro: AC_COIN_INITIALIZE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:31: error: possibly undefined macro: AC_COIN_PROG_CC
configure.ac:32: error: possibly undefined macro: AC_COIN_PROG_CXX
configure.ac:33: error: possibly undefined macro: AC_COIN_PROG_F77
configure.ac:37: error: possibly undefined macro: AC_COIN_F77_SETUP
configure.ac:44: error: possibly undefined macro: AC_COIN_PROG_LIBTOOL
configure.ac:48: error: possibly undefined macro: AC_COIN_RPATH_FLAGS
configure.ac:52: error: possibly undefined macro: AC_COIN_CXXLIBS
configure.ac:55: error: possibly undefined macro: AC_COIN_DOXYGEN
configure.ac:58: error: possibly undefined macro: AC_COIN_DEBUGLEVEL
configure.ac:69: error: possibly undefined macro: AC_DEFINE
configure.ac:71: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:106: error: possibly undefined macro: AC_COIN_CHK_LIBM
configure.ac:108: error: possibly undefined macro: AC_COIN_CHK_LAPACK
configure.ac:116: error: possibly undefined macro: AC_COIN_CHK_PKG
configure.ac:157: error: possibly undefined macro: AC_COIN_FINALIZE_FLAGS
configure.ac:163: error: possibly undefined macro: AC_COIN_TRY_LINK
configure.ac:164: error: possibly undefined macro: AC_COIN_DEFINENAMEMANGLING
configure.ac:173: error: possibly undefined macro: AC_MSG_WARN
configure.ac:237: error: possibly undefined macro: AC_COIN_CHK_LIBHDR
configure.ac:300: error: possibly undefined macro: AC_COIN_CHECK_ISFINITE
configure.ac:320: error: possibly undefined macro: AC_COIN_CHECK_NAMESPACE_DECL
configure.ac:510: error: possibly undefined macro: AC_COIN_VPATH_LINK
configure.ac:670: error: possibly undefined macro: AC_COIN_FINALIZE
autoreconf: /usr/bin/autoconf failed with exit status: 1
Yes, we have a special system on how to run the autotools in order to ensure that developers use consistent versions of the tools and macros.
The macros like AC_COIN_INITIALIZE
and the scripts to run autotools live in a separate repository: https://github.com/coin-or-tools/BuildTools/. Folling the steps in the readme there should get you going.
Ah, thanks. That was the missing piece. I am able to reconfigure the project now. Thank you.