Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2008 21:01:43 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Garrett Cooper <yanefbsd@gmail.com>
Cc:        freebsd-ports <freebsd-ports@FreeBSD.org>
Subject:   Re: I can't ge jdk16 on AMD64 Current to compile, nor jdk15 that I need to build OpenOffice.
Message-ID:  <20080713040143.GA97115@misty.eyesbeyond.com>
In-Reply-To: <3F003A29-433F-4D28-976C-2495325AA8CC@gmail.com>
References:  <20080606125256.18626i78v3uh2q04@intranet.encontacto.net> <3F003A29-433F-4D28-976C-2495325AA8CC@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 12, 2008 at 02:05:33PM -0700, Garrett Cooper wrote:
> 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@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.

You could try installing say linux-sun-jdk15 or linux-sun-jdk16 and
specifying WITH_LINUX_BOOTSTRAP when compiling jdk15 or jdk16.

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080713040143.GA97115>