0

尝试构建 jzmq https://github.com/nathanmarz/jzmq时出现以下错误

知道我在这里缺少什么吗?

./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
4

1 回答 1

1

重命名此文件:

mv configure.in configure.ac

现在编辑该文件并更改此行:旧:

AM_CONFIG_HEADER(src/config.hpp)

新的:

AC_CONFIG_HEADER(src/config.hpp)
于 2013-05-06T18:18:55.353 回答