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

Robert Noland rnoland at 2hip.net
Fri Jun 6 19:01:23 UTC 2008


On Fri, 2008-06-06 at 12:52 -0500, 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.

java/jdk15 will compile correctly on -CURRENT if you add the following
to /etc/libmap.conf.

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

diablo-jdk needs this to function on -CURRENT and so compile a native
jdk15.  I'm not sure if you can build java/jdk16 with diablo, but I
expect you can with a native jdk15...

robert.

> Exiting because of the above error(s).
> 
> Any suggestions appreciated.
> 
> ed
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
-- 
Robert Noland <rnoland at 2hip.net>
2Hip Networks



More information about the freebsd-ports mailing list