0

我正在尝试在 Ubuntu 16.04 上构建 J2V8,但我不断收到错误消息。我正在运行 Github 上提供的安装脚本,但我不断收到此错误:(为简洁而编辑)

 make[1]: Leaving directory '/home/andrew/REUIOT/J2V8/node/out'
ln -fs out/Release/node node
cp: cannot stat '/data/jenkins/node': No such file or directory
com_eclipsesource_v8_V8Impl.cpp:11:17: fatal error: jni.h: No such file or directory
compilation terminated.
[INFO] Scanning for projects...
[INFO] BUILD FAILURE-----------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/andrew/REUIOT/J2V8/jni). Please verify you invoked Maven from the correct directory. -> [Help 1]
[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] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

我不知道/data/jenkins/node应该指什么,因为我知道没有具有/data目录的 Linux 系统。我已经尝试重新安装 OpenJDK 来解决这个问题,fatal error: jni.h但是当我尝试这样做时似乎会抛出一个错误。

4

1 回答 1

0

包含的脚本是我(作者使用)在我的 CI 服务器上构建 J2V8 的脚本。/data/jenkins/node是我构建节点的詹金斯服务器上的位置。用于构建的 Linux 说明在README中。如果您想构建 J2V8,您应该参考这些说明。

于 2016-07-27T22:05:24.247 回答