2013-04-28 104 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