2013-04-28 89 views
0

我越来越试图建立jzmq https://github.com/nathanmarz/jzmq大厦jzmq上

任何想法,我错过这里的时候,下面的错误OS-X(山狮)?

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

回答

1

重命名该文件:

mv configure.in configure.ac 

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

AM_CONFIG_HEADER(src/config.hpp) 

新:

AC_CONFIG_HEADER(src/config.hpp) 
+0

约瑟夫您好,我试过CentOS 6.5也是这样,但我仍然面对这个问题。我得到“.ibtoolize:AC_CONFIG_MACRO_DIR([config])与ACLOCAL_AMFLAGS冲突= -I config autoreconf:libtoolize失败并退出状态:1 autogen.sh:错误:autoreconf退出状态为0 ” – 2014-05-18 04:45:51