Нарушение компоновки в C ++ выдает ошибку при autoconf

Я скачал источники разрушителя отсюда:

https://github.com/fsaintjacques/disruptor—

Затем я попытался, но получил данную ошибку. Есть что-то, чего мне не хватает?

autoconf configure.ac > configure

configure.ac:9: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:19: error: possibly undefined macro: AC_CXX_COMPILE_STDCXX_0X

версия gcc

gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

автоконф версия

autoconf --version
autoconf (GNU Autoconf) 2.63
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

2

Решение

Попросите разработчика предоставить bootstrap скрипт и / или инструкции по сборке. Скорее всего вам нужно:

aclocal
autoconf
automake -a
./configure
make

Возможно, с некоторыми опциями не по умолчанию (например, добавить --foreign к вызову automake).

4

Другие решения

Других решений пока нет …

По вопросам рекламы ammmcru@yandex.ru
Adblock
detector