I can't ge jdk16 on AMD64 Current to compile, nor jdk15 that I need to build OpenOffice.

Garrett Cooper yanefbsd at gmail.com
Sat Jul 12 21:04:39 UTC 2008


On Jun 6, 2008, at 10:52 AM, eculp wrote:

> I've not been able to get OpenOffice to compile on my AMD64-2  
> Current8 because first it will not accept diablo-jdk15 and neither  
> jdk15 or jdk16 finish compiling.
>
> # uname -a
> FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #114: Mon  
> Jun  2 05:44:28 CDT 2008     root at ed.local.net.mx:/usr/obj/usr/src/ 
> sys/ENCONTACTO  amd64
>
> jdk16 breaks at hotspot with:
>
>            gmake -f /almacen1/ports/java/jdk16/work/hotspot/build/ 
> bsd/Makefile \
>                       LP64=1 HOTSPOT_BUILD_VERSION=1.6.0_03-p4- 
> root_06_jun_2008_12_47-b00 JAVA_HOME=/usr/local/diablo-jdk1.5.0  
> GAMMADIR=/almacen1/ports/java/jdk16/work/hotspot MAKE_VERBOSE=y  
> product
> gmake[3]: Entering directory `/almacen1/ports/java/jdk16/work/ 
> control/build/bsd-amd64/hotspot/outputdir'
> gmake -f /almacen1/ports/java/jdk16/work/hotspot/build/bsd/Makefile  
> checks
> gmake[4]: Entering directory `/almacen1/ports/java/jdk16/work/ 
> control/build/bsd-amd64/hotspot/outputdir'
> /usr/local/diablo-jdk1.5.0/bin/javap  
> javax.xml.transform.TransformerFactory > /dev/null 2>&1; \
>        if [ $? -ne 0 ]; then \
>          /usr/local/diablo-jdk1.5.0/bin/java -version; \
>          echo "*** An XSLT processor (J2SE 1.4.x or newer) is  
> required" \
>          "to bootstrap this build" 1>&2; \
>          exit 1; \
>        fi
> Fatal error 'kse_create() failed
>
> and jdk15 a bit differently but also at hotspot:
>
> External File/Binary Locations:
>   HOTSPOT_SERVER_PATH = /almacen1/ports/java/jdk15/work/control/ 
> build/bsd-amd64/hotspot-amd64/server
>   HOTSPOT_IMPORT_PATH = /almacen1/ports/java/jdk15/work/control/ 
> build/bsd-amd64/hotspot-amd64/import
>   MOTIF_DIR = /usr/local
>   CACERTS_FILE = ./../src/share/lib/security/cacerts
>
>  No setting required for Unix Systems
> WARNING: Your are not building SPONSORS workspace from
>         the control build. This will result in a development-only
>         build of the J2SE workspace, lacking the installation bundles
>
> WARNING: Your FreeBSD installation is not valid for building a
>       the J2SDK. You must be using FreeBSD 5.[345]|6.*.
>       Your release is 8.0-CURRENT
>
> ERROR: Your BOOTDIR environment variable does not point
>       to a valid Java 2 SDK for bootstrapping this build.
>       A Java 2 SDK 5.0_14 build must be bootstrapped using
>       J2SDK 1.4.2 fcs (or later).
>       Apparently, your bootstrap JDK is version
>       Please update your ALT_BOOTDIR setting and start your build  
> again.
>
> Exiting because of the above error(s).
>
> Any suggestions appreciated.
>
> ed

Ed,
	KSE support from CURRENT was yanked recently (http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-03/msg00298.html 
). You can't use prebuilt java binaries for building later copies of  
Java...
	Not sure how to build Java from scratch.
-Garrett


More information about the freebsd-ports mailing list