我试图在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
但是当我尝试这样做时,apt似乎会抛出错误。
答案 0 :(得分:0)
包含的脚本是我(作者使用)在我的CI服务器上构建J2V8的脚本。 /data/jenkins/node
是我建立节点的jenkins服务器上的位置。 Linux的构建指令在README中。如果您想构建J2V8,请参考这些说明。