2

我从这里下载了中断源:

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

1 回答 1

4

要求开发人员提供bootstrap脚本和/或构建说明。您很可能需要:

aclocal
autoconf
automake -a
./configure
make

可能有一些非默认选项(例如添加--foreign到 automake 调用)。

于 2013-08-26T20:44:14.707 回答