我按照此处列出的指示:http://mesos.apache.org/gettingstarted/
我检查了一切,然后跑了:
$ xcode-select --install
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install autoconf automake libtool subversion maven
当我进入mesos目录并运行./bootstrap
时,我得到以下内容:
ln: .git/hooks/pre-commit: Not a directory
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --warnings=all -I m4
aclocal: error: aclocal: file '/usr/local/share/aclocal/libmcrypt.m4' does not exist
autoreconf: aclocal failed with exit status: 1
不确定我做错了什么,非常感谢任何帮助。
修改
我想补充一点,所选答案为我解决了问题。运行make check
后,我有3次失败的测试。我再次跑了,得到了5失败了。我详尽地跑了
$ ./bin/mesos-tests.sh --gtest_filter="NAMEOFFAILEDTEST" --verbose
最终只有三个失败,因为非Linux系统不支持Docket测试:
[ FAILED ] ExamplesTest.TestFramework
[ FAILED ] ExamplesTest.NoExecutorFramework
[ FAILED ] ExamplesTest.PersistentVolumeFramework
希望将来能帮助其他人。
答案 0 :(得分:2)
aclocal: error: aclocal: file '/usr/local/share/aclocal/libmcrypt.m4' does not exist
该文件由MCrypt提供。 brew install mcrypt