FreeBSD 4.8 stable / jdk14

Ernst de Haan ernst.dehaan at nl.wanadoo.com
Fri Jul 18 07:57:35 PDT 2003


Hi Marcus,

The current version of the linux-sun-jdk14 port installs Sun J2SE 1.4.2 for 
Linux, not 1.4.1. Perhaps the problem is with bsd.java.mk, which still 
assumed the old directory.

I don't know what the relation with bsd.java.mk could be, but there may be 
one. I've committed a fixed bsd.java.mk. Within a few hours the change 
should have been propagated to all cvsup mirrors, please cvsup (at least) 
ports-base and ports-java, make clean and try again.

Ernst

On Friday 18 July 2003 16:06, Marcus Henschel wrote:
> Hi there,
>
> To get openCMS to work, i try to install /usr/ports/java/jdk14 on my
> FreeBSD Box. I have already linux_base7.1_5 installed, and when i run
> Kldstat i get:
>
> Id Refs Address    Size     Name
>  1    2 0xc0100000 23ce9c   kernel
>  2    1 0xc1498000 15000    linux.ko
>
> But after running "make install" i get the following errors:
> ========================================================================
> ================================================
> root at www:/usr/ports/java/jdk14 # make install
> ===>  Building for jdk-1.4.1p3_3
> # Start of jdk build
> bsd i586 1.4.1-p3 build started: 03-07-18 15:51
> gmake[1]: Entering directory `/usr/ports/java/jdk14/work/j2se/make'
> gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
> if [ -r ./../../patch/make/Makefile ]; then \
>   ( cd  ./../../patch/make; gmake sanity MAKEFLAGS=
> EXTERNALSANITYCONTROL=true CONTROL_TOPDIR=/usr/ports/java/jdk14/work
> /control CONTROL_TOPDIR_NAME=control ALT_J2SE_TOPDIR=./../../j2se
> ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/build
> /bsd-i586 ALT_RTPATCH_DIR= ALT_BASE_IMAGE_ZIP= ALT_BASE_IMAGE_DIR=
> ALT_NEW_IMAGE_DIR= ; ); \
> fi
>
> Build Machine Information:
>    build machine =
>
> Build Directory Structure:
>    CWD = /usr/ports/java/jdk14/work/control/make
>    TOPDIR = ./../..
>    CONTROL_TOPDIR = ./../../control
>    GENERICS_TOPDIR = ./../../generics
>    HOTSPOT_TOPDIR = ./../../hotspot
>    J2SE_TOPDIR = ./../../j2se
>    MOTIF_TOPDIR = ./../../motif
>    COBUNDLE_TOPDIR = ./../../cobundle
>
> Hotspot Settings:
>    HOTSPOT_BUILD_JOBS =
>
> Bootstrap Settings:
>    BOOTDIR = /usr/local/linux-sun-jdk1.4.1
>    BOOTSTRAP J2SDK VERSION:
>    OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586
>
> Build Tool Settings:
>    UNIXCOMMAND_PATH = /bin/
>    COMPILER_PATH = /usr/bin/
>    DEVTOOLS_PATH = /usr/local/bin/
>    USRBIN_PATH = /usr/bin/
>    MOTIF_DIR = /usr/X11R6
>    CC_VER = 2.95.4
>    PATH =
> /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/
> bin:/root/bin:/var/qmail/bin
>
> Build Directives:
>    USE_ONLY_BOOTDIR_TOOLS =
>    USE_HOTSPOT_INTERPRETER_MODE =
>    PEDANTIC =
>    DEV_ONLY =
>    J2RE_ONLY =
>    NO_DOCS = YES
>    NO_IMAGES =
>    TOOLS_ONLY = true
>    INSANE =
>
> Build Platform Settings:
>    PLATFORM = bsd
>    ARCH = i586
>    LIBARCH = i386
>    ARCH_FAMILY = i586
>    ARCH_DATA_MODEL = 32
>    OS_VERSION = 4.8-PRERELEASE
>    TRUE_PLATFORM = FreeBSD (4.x STABLE way)
>    FREE_SPACE = 7501072
>
> GNU Make Settings:
>    MAKE = gmake
>    MAKE VERSION =
>    MAKECMDGOALS = sanity
>    MAKEFLAGS =
>    SHELL = /bin/sh
>
> Target Build Versions:
>    JDK_VERSION = 1.4.1
>    MILESTONE = p3
>    BUILD_NUMBER = marcus_18_jul_2003_15_51
>    BUNDLE_DATE = 18_jul_2003
>
> External File/Binary Locations:
>    HOTSPOT_SERVER_PATH =
> /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/server
>    HOTSPOT_CLIENT_PATH =
> /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/client
>    OPT_JAVAWS =
> /java/re/javaws/1.2/promoted/pit_tested/bundles/javaws-1_2-bsd-i586-i.zi
> p
>    MOZILLA_PATH = /java/devtools
>    MOZILLA_HEADERS_PATH = /java/devtools/share/plugin
>    MOZILLA_LIBS_PATH = /java/devtools/bsd/plugin
>    MOTIF_DIR = /usr/X11R6
>    CACERTS_FILE = ./../src/share/lib/security/cacerts
>
> WARNING: Your build environment has the variable NO_DOCS
>          defined. This will result in a development-only
>          build of the J2SE workspace, lacking the documentation
>          build.
>
> WARNING: You do not have access to the Java Web Start binary.
>          These binaries may be optional for this build. Please
>          check your access to
>
> /java/re/javaws/1.2/promoted/pit_tested/bundles/javaws-1_2-bsd-i586-i.zi
> p
>          and/or check your value of ALT_JAVAWS_PATH.
>          This will make your images target build incomplete.
>
> ERROR: BOOTDIR does not point to a valid Java 2 SDK
>        Check that you have access to
>            /usr/local/linux-sun-jdk1.4.1/bin/java
>        and/or check your value of ALT_BOOTDIR.
>
> Exiting because of the above error(s).
>
> gmake: *** [post-sanity] Error 1
> *** Error code 2
>
> Stop in /usr/ports/java/jdk14.
> ========================================================================
> ======================================================
>
> I am wondering about the last ERROR Message "Check that you have access
> to
> /usr/local/linux-sun-jdk1.4.1/bin/java". The jdk14 port installed java
> in
> /usr/local/linux-sun-jdk1.4.2 !!!
>
> Any Ideas ??
>
> marcus
>
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"


More information about the freebsd-java mailing list