构建mesos1.5.0时出错

问题描述 投票:0回答:1

info

cpu:ARMv7处理器rev 1(v7l)x 4

内存:2GB

Ubuntu:16.04LTS(Xenial Xerus)32bit

question

我试图在Ubuntu 16.04LTS中构建Apache Mesos 1.5.0 。建设步骤是:

# Update the packages.
$ sudo apt-get update

# Install a few utility tools.
$ sudo apt-get install -y tar wget git

# Install the latest OpenJDK.
$ sudo apt-get install -y openjdk-8-jdk

# Install autotools (Only necessary if building from git repository).
$ sudo apt-get install -y autoconf libtool

# Install other Mesos dependencies.
$ sudo apt-get -y install build-essential python-dev python-six python-virtualenv libcurl4-nss-dev libsasl2-dev libsasl2-modules maven libapr1-dev libsvn-dev zlib1g-dev

$ wget http://www.apache.org/dist/mesos/1.5.0/mesos-1.5.0.tar.gz
$ tar -zxf mesos-1.5.0.tar.gz

# Change working directory.
$ cd mesos

# Bootstrap (Only required if building from git repository).
$ ./bootstrap

# Configure and build.
$ mkdir build
$ cd build
$ ../configure
$ make

但是它在make步骤遇到问题:

Building mesos-1.5.0.jar ...
[INFO] Scanning for projects...
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.mesos:mesos:1.5.0: Could not transfer artifact org.apache:apache:pom:11 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Temporary failure in name resolution and 'parent.relativePath' points at wrong local POM @ line 18, column 11
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.mesos:mesos:1.5.0 (/home/lemaker/project/mesos-1.5.0/build/src/java/mesos.pom) has 1 error
[ERROR]     Non-resolvable parent POM for org.apache.mesos:mesos:1.5.0: Could not transfer artifact org.apache:apache:pom:11 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Temporary failure in name resolution and 'parent.relativePath' points at wrong local POM @ line 18, column 11: Unknown host repo.maven.apache.org: Temporary failure in name resolution -> [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Makefile:14487: recipe for target 'java/target/mesos-1.5.0.jar' failed
make[1]: *** [java/target/mesos-1.5.0.jar] Error 1
make[1]: Leaving directory '/home/lemaker/project/mesos-1.5.0/build/src'
Makefile:773: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

如何在这里解决这个问题?

相关主题:

Error when building Mesos

https://mail-archives.apache.org/mod_mbox/mesos-issues/201511.mbox/%[email protected]%3E

ubuntu arm mesos
1个回答
0
投票

Mesos runs on Linux (64 Bit) and Mac OS X (64 Bit). To build Mesos from source, GCC 4.8.1+ or Clang 3.5+ is required.


如果您不需要ARM的Java绑定,则可以在没有它的情况下构建Mesos。只需配置它并显式禁用Java。它会减少构建时间。

../configure --disable-java

记住ARM没有得到官方支持,并且并非所有测试都通过(请参阅MESOS-8635),也不是所有依赖项都适用于ARM(请参阅GLOG-256

不推荐使用本机绑定以支持API。

© www.soinside.com 2019 - 2024. All rights reserved.