2016-02-13 63 views
0

我可以访问大型IBM Power8机器(运行Ubuntu),并且希望在其上构建Bazel。但是,当我尝试做它作为他们的安装指导建议,我得到:在IBM power8上构建bazel源代码

[email protected]:~/bazel-0.1.5$ ./compile.sh 
INFO: You can skip this first step by providing a path to the bazel binary as second argument: 
INFO: ./compile.sh compile /path/to/bazel 
    Building Bazel from scratch. 
Compiling Java stubs for protocol buffers... 
third_party/protobuf/protoc-linux-x86_32.exe -Isrc/main/protobuf/ --java_out=/tmp/bazel.T9C83cNa/src src/main/protobuf/android_studio_ide_info.proto 
scripts/bootstrap/buildenv.sh: line 63: third_party/protobuf/protoc-linux-x86_32.exe: cannot execute binary file: Exec format error 
[email protected]:~/bazel-0.1.5$ ^C 

显然,问题的一部分是编译器试图将32位编译器。我尝试了以下的东西,但无济于事。

所以,我失去了灵感。我如何在IBM Power8机器上编译Bazel?

(PS:我已经发布了这个作为解决installing TensorFlow on the IBM power8的一部分,所以它不是一个重复的问题,为了解决阶段性地只是一个方面)

+0

对于初学者来说,没有86可执行将在电力运行8,所以你必须建立protobuf的它,或做引导在x86机器上单独执行步骤。但是我不知道这个特定软件的细节。 – jpa

+0

我知道。但是(这两种方式我尝试过)正是吐出了大量错误的东西。 – user1111929

+0

嗨,我是Bazel团队的成员,我们在引导过程中发生了很多变化,而且您所指的变更并不是最新的,您能否在Bazel的Github问题跟踪器上打开一个问题,我们可以更精确地跟进该问题? –

回答