如何在OSXYosemite上编译mesos

3bygqnnd  于 2021-06-21  发布在  Mesos
关注(0)|答案(1)|浏览(365)

我遵循这里概述的指示: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 我有三次测试失败。我又跑了一次,有5次失败了。我精疲力尽地跑

$ ./bin/mesos-tests.sh --gtest_filter="NAMEOFFAILEDTEST" --verbose

最后只有三个失败,因为非linux系统不支持摘要测试:

[  FAILED  ] ExamplesTest.TestFramework
[  FAILED  ] ExamplesTest.NoExecutorFramework
[  FAILED  ] ExamplesTest.PersistentVolumeFramework

希望这对以后的人有帮助。

oipij1gg

oipij1gg1#

aclocal: error: aclocal: file '/usr/local/share/aclocal/libmcrypt.m4' does not exist

该文件由mcrypt提供。 brew install mcrypt

相关问题