Building Java 7 on OS X Snow Leopard
Oliver Schrenk
Oliver.Schrenk at gmx.net
Thu Oct 22 14:56:43 PDT 2009
Hi,
I was following the thread so far as I also am trying to build Java 7
on my machine. Still no luck though.
I run into this error:
make[4]: /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries/bsd-i586/bin/
javah: No such file or directory
make[4]: *** [/Users/Oliver/Development/projects/university/bsd-port/
build/bsd-i586/tmp/java/java.lang/java/obj/.class.headers.i586] Error 1
make[3]: *** [all] Error 1
make[2]: *** [all] Error 1
make[1]: *** [jdk-build] Error 2
make: *** [build_product_image] Error 2
From my previous tries to build Java 7, I changed the symbolic links
of gcc and g++ to the 4.0.1 versions and I use this commands to build
the JDK:
$ hg fclone http://hg.openjdk.java.net/bsd-port/bsd-port
$ cd bsd-port/hotspot
$ patch -p1 /Users/Oliver/Downloads/snowleopard.patch
$ cd ..
$ export LC_ALL=C
$ export LANG=C
$ unset CLASSPATH
$ unset JAVA_HOME
$ make \
ALT_BOOTDIR=/Users/Oliver/Downloads/soylatte16-i386-1.0.3/ \
ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include \
ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib \
ALT_JIBX_LIBS_PATH=/Users/Oliver/Downloads/jibx-1.1.6a \
ALT_CUPS_HEADERS_PATH=/usr/include \
ANT_HOME=/usr/share/ant \
ARCH_DATA_MODEL=32 \
NO_DOCS=true \
CC="gcc-4.0" \
CXX="g++-4.0" \
HOTSPOT_BUILD_JOBS=2
I guess I miss something very simple as the first line of the error
states " /NOT-SET/". The sanity check passes though.
Any ideas?
Thanks
Oliver
More information about the bsd-port-dev
mailing list