Question

I'm getting the following error when trying to build jzmq https://github.com/nathanmarz/jzmq

Any idea what I'm missing here?

./autogen.sh 
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I config --force -I config
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:13: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/local/Cellar/automake/1.13.1/share/aclocal-1.13/obsolete-err.m4:14: AM_CONFIG_HEADER is expanded from...
configure.in:13: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
autogen.sh: error: autoreconf exited with status 0
Was it helpful?

Solution

Rename this file:

mv configure.in configure.ac

Now edit that file and change this line: old:

AM_CONFIG_HEADER(src/config.hpp)

new:

AC_CONFIG_HEADER(src/config.hpp)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top