2013-04-28 5 views
0

я получаю следующее сообщение об ошибке при попытке построить jzmq https://github.com/nathanmarz/jzmqСтроительство jzmq на OS-X (Mountain Lion)

Любая идея, что я здесь отсутствует?

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

Rename этот файл:

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 " –

Смежные вопросы