dContext.java 时,问题显而易见:文件是空的!我想知道发生了什么。
当我解压或下载原始文件时,也许一些事情中断操作了。我又弄到了一个新的副本,它似乎包含 RemoteThreadContext.java,因此我将其完全复制到它该在的位置,并再次运行 make。这一次,在 make 中止之前,我设法在 Arathi Basin 中完整地玩了一圈:
Timing: 00000 seconds or 0s for make-java-jvm
<<<Finished Recursively making jvm all @ Sat Nov 17 23:54:14 CET 2007.
>>>Recursively making redist all @ Sat Nov 17 23:54:14 CET 2007 ...
make[3]: Entering directory `/home/jars/openjdk/jdk/make/java/redist''
BinaryPlugs import started: Sat Nov 17 23:54:14 CET 2007
BINARY_PLUGS_PATH=/home/jars/plugs
make[3]: *** No rule to make target `/home/jars/plugs/jre/lib/i386/libjsoundhs.so'', needed by `/home/jars/openjdk/control/build/linux-i586/lib/i386/libjsoundhs.so''. Stop.
make[3]: Leaving directory `/home/jars/openjdk/jdk/make/java/redist''
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/jars/openjdk/jdk/make/java''
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/jars/openjdk/jdk/make''
make: *** [jdk-build] Error 2
OpenJDK:构建JDK(8)
时间:2011-07-22
也许是我没有正确安装插件?也许我必须将其 unjar?不。不会是一个恶作剧吧。等一下:它是一个自运行的 JAR:
$ java -jar jdk-7-ea-plug-b23-linux-i586-30_oct_2007.jar
Error: Install failed: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed
an operation which requires it.
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed
an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
...
嗯,我猜我不能在控制台中运行它。我必须把椅子转向笔记本,在它上面运行。
TODO:让二进制插件安装程序能够无头运行。
好了。现在我在 /home/jars/plugs/openjdk-binary-plugs 中找到了未压缩的二进制插件。我需要更新环境变量以再次匹配 make:
$ export ALT_BINARY_PLUGS_PATH=/home/jars/openjdk-binary-plugs
$ make
Make 再次运行,但不久在另一个位置中止了:
In file included from
/home/jars/openjdk/jdk/src/share/native/sun/awt/../java2d/pipe/Region.h:34,
from /home/jars/openjdk/jdk/src/share/native/sun/awt/../java2d/pipe/Region.c:30:
/home/jars/openjdk/jdk/src/solaris/native/sun/awt/utility/rect.h:31:22: error:
X11/Xlib.h: No such file or directory
In file included from
...
/home/jars/openjdk/jdk/src/solaris/native/sun/awt/img_util_md.h:32:
error: expected specifier-qualifier-list before ''XID''
/home/jars/openjdk/jdk/src/share/native/sun/awt/image/BufImgSurfaceData.c:
In function ''Java_sun_awt_image_BufImgSurfaceData_freeNativeICMData'':
/home/jars/openjdk/jdk/src/share/native/sun/awt/image/BufImgSurfaceData.c:95:
warning: cast to pointer from integer of different size
make[4]: ***
[/home/jars/openjdk/control/build/linux-i586/tmp/sun/sun.awt/awt/obj/BufImgSurfaceData.o]
Error 1
make[4]: Leaving directory `/home/jars/openjdk/jdk/make/sun/awt''
make[3]: *** [library_parallel_compile] Error 2
make[3]: Leaving directory `
|