构建OpenJDK - Corba问题

时间:2015-03-14 08:43:52

标签: java windows corba openjdk

我正在尝试在WinXP x32上构建OpenJDK 7但收到Corba错误:

make[4]: Leaving directory '/cygdrive/c/Projects/OpenJDK/jdk7/corba/make/com/sun'
make[3]: Leaving directory '/cygdrive/c/Projects/OpenJDK/jdk7/corba/make/com'
abs_src_zip=`cd C:/Projects/OpenJDK/java_libs/java_libs/openjdk7/output_32/corba
/dist/lib ; pwd`/src.zip ; \
( cd ../src/share/classes ; find . \( -name \*-template \) -prune -o -type f -pr
int | zip -q $abs_src_zip -@ ) ; \
( cd C:/Projects/OpenJDK/java_libs/java_libs/openjdk7/output_32/corba/gensrc ; f
ind . -type f -print | zip -q $abs_src_zip -@ ) ;
File not found - *-template

zip error: Nothing to do! (/cygdrive/c/Projects/OpenJDK/java_libs/java_libs/open
jdk7/output_32/corba/dist/lib/src.zip)
FIND: Parameter format not correct

zip error: Nothing to do! (/cygdrive/c/Projects/OpenJDK/java_libs/java_libs/open
jdk7/output_32/corba/dist/lib/src.zip)
Makefile:147: recipe for target 'C:/Projects/OpenJDK/java_libs/java_libs/openjdk
7/output_32/corba/dist/lib/src.zip' failed
make[2]: *** [C:/Projects/OpenJDK/java_libs/java_libs/openjdk7/output_32/corba/d
ist/lib/src.zip] Error 12
make[2]: Leaving directory '/cygdrive/c/Projects/OpenJDK/jdk7/corba/make'
make/corba-rules.gmk:42: recipe for target 'corba-build' failed
make[1]: *** [corba-build] Error 2
make[1]: Leaving directory '/cygdrive/c/Projects/OpenJDK/jdk7'
Makefile:251: recipe for target 'build_product_image' failed
make: *** [build_product_image] Error 2

在Corba构建过程中看起来没有生成* -template文件(我在Corba目录中找不到任何* -template文件),因此尚未创建src.zip存档。

我错过了什么?

1 个答案:

答案 0 :(得分:1)

我能够通过alexkasko的脚本构建OpenJDK:https://github.com/alexkasko/openjdk-unofficial-builds