我正在尝试在 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
但是当我尝试这样做时似乎会抛出一个错误。