Build Disruptor in C++ gives error on autoconf

2.8k Views Asked by At

I downloaded the disruptor sources from here:

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

I then tried but get the given error. Is there something that I am missing?

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 version

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

There are 1 best solutions below

3
On

Ask the developer to provide a bootstrap script and/or build instructions. Most likely you need:

aclocal
autoconf
automake -a
./configure
make

With possibly some non-default options (e.g. add --foreign to the automake invocation).