2013-08-26 38 views
2

錯誤我下載了破壞者的來源從這裏開始:構建干擾器給出的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的版本

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. 
+0

我不認爲[這會幫助] – WhozCraig

+0

disruptor ---主idf $ autoheader autoheader:錯誤:在配置中找不到AC_CONFIG_HEADERS .ac – Ivan

+0

好資源:http://stackoverflow.com/questions/22603163/automake-error-ltmain-sh-not-found –

回答

4

要求開發商提供bootstrap腳本和/或建立指令。最有可能你需要:

aclocal 
autoconf 
automake -a 
./configure 
make 

我們擁有一些非默認選項(例如添加--foreign到automake的調用)。

+0

disruptor --- master idf $ automake configure.ac:9:error:需要的文件'./install-sh'找不到 configure.ac:9:'automake - -add-missing'可以安裝'install-sh' configure.ac:9:錯誤:需要的文件'./missing'找不到 configure.ac:9:'automake --add-missing'可以安裝'missing' perf/Makefile.am:錯誤:需要的文件'./depcomp'未找到 perf/Makefile.am:'automake --add-missing'可以安裝'depcomp' parallel-tests:error:required file'./ test driver'not found – Ivan

+0

是的,錯誤消息告訴你,用'--add-missing'或'-a'調用automake。 – DanielKO

+0

丹尼爾感謝您的幫助。我能夠走得更遠,但無論如何,這整個破壞者的事情是非常模糊的。 – Ivan