,所以我们就忽略这个问题吧。
TODO: 弄清楚正在进行的问题并进行修复。
现在只剩下一个警告和一个错误:
WARNING: This machine appears to only have 503Mb of physical memory,
builds on this machine could be slow.
ERROR: You do not have access to valid Cups header files.
Please check your access to
/usr/include/cups/cups.h
and/or check your value of ALT_CUPS_HEADERS_PATH,
CUPS is frequently pre-installed on many systems,
or may be downloaded from http://www.cups.org
OpenJDK:构建JDK(6)
时间:2011-07-22
我已经为这台笔记本订购了 4GB 的 RAM ,但货还没到。与此同时,我只能忍受缓慢的构建。但是,CUPS 可能是一个问题。返回到 Synaptic。好像又是一个设备安装问题。似乎是我需要的 libcupsys2-dev。我安装了并重试:
$ make sanity
make[1]: Entering directory `/home/jars/openjdk/jdk/make''
make[2]: Entering directory `/home/jars/openjdk/jdk/make/tools/freetypecheck''
make[2]: Nothing to be done for `all''.
make[2]: Leaving directory `/home/jars/openjdk/jdk/make/tools/freetypecheck''
make[1]: Leaving directory `/home/jars/openjdk/jdk/make''
Build Machine Information:
build machine = jars-desktop
...
Previous JDK Settings:
PREVIOUS_RELEASE_PATH = /NOT-SET/re/jdk/1.6.0/archive/fcs/bundles/linux-i586
ALT_PREVIOUS_RELEASE_PATH =
PREVIOUS_JDK_VERSION = 1.6.0
ALT_PREVIOUS_JDK_VERSION =
PREVIOUS_JDK_FILE = jdk--linux-i586.tar.gz
ALT_PREVIOUS_JDK_FILE =
PREVIOUS_JRE_FILE = jre--linux-i586.tar.gz
ALT_PREVIOUS_JRE_FILE =
PREVIOUS_RELEASE_IMAGE =
ALT_PREVIOUS_RELEASE_IMAGE =
WARNING: This machine appears to only have 503Mb of physical memory,
builds on this machine could be slow.
Sanity check passed.
终于!在开始了大约 7 个小时之后,完整性检查通过了。现在试着用 make 开始实际构建:
构建 Make 文件$ make
linux i586 1.7.0-internal build started: 07-11-17 22:33
/bin/mkdir -p ../../control/build/linux-i586/j2sdk-image
/bin/mkdir -p /home/jars/openjdk/control/build/linux-i586/j2sdk-image
...
# Running javac:
Check_ALT_JDK_IMPORT_PATH/bin/javac -J-XX:ThreadStackSize=768
-J-client -J-Xmx375m -J-Xms128m -J-XX:PermSize=32m
-J-XX:MaxPermSize=160m -source 1.5 -target 5 -encoding ascii
-classpath /usr/local/java/lib/tools.jar -sourcepath
/home/jars/openjdk/control/build/linux-i586/corba/gensrc:
../../../src/solaris/classes:
../../../src/share/classes -d
/home/jars/openjdk/control/build/linux-i586/corba/classes
@/home/jars/openjdk/control/build/linux-i586/corba/tmp/sun
/javax.transaction.xa/.classes.list
/bin/sh: Check_ALT_JDK_IMPORT_PATH/bin/javac: not found
make[3]: *** [.compile.classlist] Error 127
make[3]: Leaving directory `/home/jars/openjdk/corba/make/javax/xa''
make[2]: *** [build] Error 1
make[2]: Leaving directory `/home/jars/openjdk/corba/make/javax''
make[1]: *** [build] Error 1
make[1]: Leaving directory `/home/jars/openjdk/corba/make''
make: *** [corba-build] Error 2
嗯,好像是需要一个 ALT_JDK_IMPORT_PATH 环境变量。完整性检查没有捕获到这一点。系统似乎正试着加 |