我尝试在docker上安装kumofs(https://github.com/etolabo/kumofs),但是在运行configure命令时遇到了错误。
在这方面的任何帮助都是高度关注的。
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 :(得分:0)
您需要安装m4
包:
sudo apt-get install m4
答案 1 :(得分:0)
取消设置M4变量,它对我有用。 之前:M4 = / usr / local / m4(导致错误) 之后:M4 =(固定)
但现在我面临另一个问题。 我用以下命令配置kumofs。 root @ 37506a75b0ac:/ home / 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
答案 2 :(得分:0)
Kumofs构建要求:c ++编译器(包名称= g ++或gcc-c ++)。 “ libstdc ++ - [version] -dev(el)”将作为g ++的依赖项安装。
msgpack ( - 0.5.7)https://packages.debian.org/source/stretch/msgpack>> http://http.debian.net/debian/pool/main/m/msgpack/msgpack_0.5.7.orig.tar.gz 并且' ragel '。 tokyocabinet :http://netcologne.dl.sourceforge.net/project/tokyocabinet/tokyocabinet/1.4.32/tokyocabinet-1.4.32.tar.gz