2016-06-10 134 views
0

我试图在docker上安装kumofs(https://github.com/etolabo/kumofs),但运行configure命令时出现以下错误。安装kumofs时出错

在这方面的任何帮助是高度appriciated。

libtoolize: putting auxiliary files in '.'. 
libtoolize: copying file './ltmain.sh' 
libtoolize: You should add the contents of the following files to  'aclocal.m4': 
libtoolize: '/usr/share/aclocal/libtool.m4' 
libtoolize: '/usr/share/aclocal/ltoptions.m4' 
libtoolize: '/usr/share/aclocal/ltsugar.m4' 
libtoolize: '/usr/share/aclocal/ltversion.m4' 
libtoolize: '/usr/share/aclocal/lt~obsolete.m4' 
libtoolize: Remember to add 'LT_INIT' to configure.in. 
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, 
libtoolize: and rerunning libtoolize and aclocal. 
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. 
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' 
autom4te: need GNU m4 1.4 or later: /usr/local/m4 
aclocal: error: echo failed with exit status: 1 
autom4te: need GNU m4 1.4 or later: /usr/local/m4 
autoheader: '/usr/bin/autom4te' failed with exit status: 1 
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' 
autom4te: need GNU m4 1.4 or later: /usr/local/m4 
automake: error: autoconf failed with exit status: 1 
autom4te: need GNU m4 1.4 or later: /usr/local/m4 

回答

0

您需要安装m4包:

sudo apt-get install m4 
+0

我已经添加了M4包。 我没有设置M4变量,它为我工作。 – Swap

+0

您确定它的版本是1.4或更高? – Smeeheey

0

取消设置M4变量,它为我工作。 之前:M4 =/usr/local/m4(导致错误) 之后:M4 =(已修复)

但现在我面临另一个问题。 我使用以下命令配置kumofs。 根@ 37506a75b0ac:/家庭/ kumofs#的./configure --with- msgpack =在/ usr/local/lib目录/ libmsgpackc.so

我收到以下错误:

checking if tcadb is enabled... 
checking for main in -lstdc++... no 
checking for pthread_create in -lpthread... no 
configure: error: Can't find pthread library 

我已经安装libpthread-stubs0-dev