Skip to content

configure.ac:24: error: possibly undefined macro: AC_COIN_INITIALIZE #310

Open
@iamustcfw

Description

After modifying Makefile.am, running autoreconf fails with multiple undefined macro errors related to AC_COIN_*, despite following the BuildTools installation method from Ipopt #699.

When running BuildTools, I got following outputs:

(base) hzr@ubuntu:~/clp-test$ ./local/run_autotools /home/hzr/clp-test/Clp-master/
Using COIN_AUTOTOOLS_DIR=/home/hzr/local
candDirs (1): /home/hzr/clp-test/Clp-master/
Running autotools in /home/hzr/clp-test/Clp-master/
Processing /home/hzr/clp-test/Clp-master/ ...
BuildTools directory: /home/hzr/clp-test/local
creating temporary link for ./BuildTools -> /home/hzr/clp-test/local
refreshing autotools scripts in this directory.
patching file compile
running aclocal in /home/hzr/clp-test/Clp-master/
apply libtool.m4 patch to support ICL
patching file aclocal.m4
Hunk #1 succeeded at 6662 (offset -76 lines).
Hunk #2 succeeded at 9117 (offset -76 lines).
Hunk #3 succeeded at 9751 (offset -76 lines).
Hunk #4 succeeded at 9797 (offset -76 lines).
Hunk #5 succeeded at 10829 (offset -76 lines).
running autoheader in /home/hzr/clp-test/Clp-master/
running automake in /home/hzr/clp-test/Clp-master/
running autoconf in /home/hzr/clp-test/Clp-master/
update BuildTools/headers/configall_system.h, if existing
update BuildTools/headers/configall_system_msc.h, if existing

And running autoreconf, got following outputs:

(base) hzr@ubuntu:~/clp-test/Clp-master$ autoreconf
/home/hzr/local/share/autoconf/autoconf/trailer.m4:4: warning: AC_OUTPUT was never used
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_CXX
configure.ac:37: error: possibly undefined macro: AC_COIN_PROG_LIBTOOL
configure.ac:42: error: possibly undefined macro: AC_COIN_RPATH_FLAGS
configure.ac:49: error: possibly undefined macro: AC_COIN_CHECK_MATH_HDRS
configure.ac:58: error: possibly undefined macro: AC_COIN_CHK_PKG
configure.ac:60: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:72: error: possibly undefined macro: AC_CLP_ABOCA
configure.ac:83: error: possibly undefined macro: AC_COIN_CHK_LIBHDR
configure.ac:113: error: possibly undefined macro: AC_COIN_TRY_LINK
configure.ac:114: error: possibly undefined macro: AC_COIN_DEFINENAMEMANGLING
configure.ac:116: error: possibly undefined macro: AC_DEFINE
configure.ac:127: error: possibly undefined macro: AC_COIN_CHK_GNU_READLINE
configure.ac:135: error: possibly undefined macro: AC_COIN_EXAMPLE_FILES
configure.ac:142: error: possibly undefined macro: AC_COIN_DOXYGEN
configure.ac:149: error: possibly undefined macro: AC_COIN_FINALIZE_FLAGS
configure.ac:150: error: possibly undefined macro: AC_COIN_CHK_HERE
configure.ac:175: error: possibly undefined macro: AC_COIN_FINALIZE
autoreconf: error: /home/hzr/local/bin/autoconf failed with exit status: 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions