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

Robert Noland rnoland at 2hip.net
Mon Jul 14 15:29:48 UTC 2008


On Sat, 2008-07-12 at 21:01 -0700, Greg Lewis wrote:
> 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 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.
> 
> You could try installing say linux-sun-jdk15 or linux-sun-jdk16 and
> specifying WITH_LINUX_BOOTSTRAP when compiling jdk15 or jdk16.

I'm not sure where to post this so that people find it more readily, but
I've stated before that adding the following to /etc/libmap.conf gets
diablo working on -CURRENT and allows the building of native jdk*.

libpthread.so.1 libthr.so.1
libpthread.so.2 libthr.so.2
libkse.so.3     libthr.so.3

robert.

-- 
Robert Noland <rnoland at 2hip.net>
2Hip Networks



More information about the freebsd-ports mailing list