“没有规则来制作目标”为Apache Ignite编译c ++模块

时间:2017-01-20 21:33:19

标签: build ignite

从源代码编译c ++模块时,我收到以下错误,这似乎是因为缺少文件“ignite / impl / interop / interop_target.h”。我应该从这里找到任何建议吗?

Making all in include
make[3]: Entering directory `/work/apache-ignite-1.7.0-src/modules/platforms/cpp/core/include'
make[3]: Leaving directory `/work/apache-ignite-1.7.0-src/modules/platforms/cpp/core/include'
make[3]: *** No rule to make target `ignite/impl/interop/interop_target.h', needed by `all-am'.  Stop.
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/work/apache-ignite-1.7.0-src/modules/platforms/cpp/core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/work/apache-ignite-1.7.0-src/modules/platforms/cpp'
make: *** [all] Error 2
The command '/bin/sh -c cd /work/apache-ignite-1.7.0-src/modules/platforms/cpp  && libtoolize && aclocal && autoheader  && automake --add-missing && autoreconf  && ./configure  && make -j4' returned a non-zero code: 2

我正在遵循的构建过程导致错误,

cd /work
curl -L -O https://archive.apache.org/dist/ignite/1.7.0/apache-ignite-1.7.0-src.zip
unzip -q apache-ignite-1.7.0-src.zip

cd apache-ignite-1.7.0-src
mvn clean package -DskipTests

cd modules/platforms/cpp
libtoolize && aclocal && autoheader && automake --add-missing && autoreconf
./configure
make -j4

顺便提一下,如果我在apache-ignite-1.8.0-src.zip上重复构建过程,我会遇到同样的错误。

1 个答案:

答案 0 :(得分:0)

这是一个带有源版本的known issue。作为解决方案,您可以使用project repository中的来源。