JDK1.4.1 with patchset3 on FreeBSD 5.1-RELEASE

Free Bud hiddendaemon at yahoo.com
Fri Jul 11 00:22:26 PDT 2003


Hi,
I was finally able to get the make install to run but I had to modify the Makefile to get around the test-os which claims I can use "4.7-current or later "or "5.0-Release"
 
Well,  "later" dont work... so I commented out part of the test-os in the Makefile and it took off for about an hour until it reached the jdk1.4.1 build. 
 
Here is very end part of log...
 
//####################
===>  Configuring for jdk-1.4.1p3_3
===>  Building for jdk-1.4.1p3_3
# Start of jdk build
bsd i586 1.4.1-p3 build started: 03-07-11 00:06
gmake[1]: Entering directory `/root/downloads/java/jdk141Make/work/j2se/make'
gmake[1]: Leaving directory `/root/downloads/java/jdk141Make/work/j2se/make'
if [ -r ./../../patch/make/Makefile ]; then \
  ( cd  ./../../patch/make; gmake sanity MAKEFLAGS= EXTERNALSANITYCONTROL=true CONTROL_TOPDIR=/root/downloads/java/jdk141Make/work/control CONTROL_TOP
DIR_NAME=control ALT_J2SE_TOPDIR=./../../j2se ALT_OUTPUTDIR=/root/downloads/java/jdk141Make/work/control/build/bsd-i586 ALT_RTPATCH_DIR= ALT_BASE_IMAG
E_ZIP= ALT_BASE_IMAGE_DIR= ALT_NEW_IMAGE_DIR= ; ); \
fi
Build Machine Information:
   build machine =
Build Directory Structure:
   CWD = /root/downloads/java/jdk141Make/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 = /root/downloads/java/jdk141Make/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 = gcc (GCC) 3.2.2 [FreeBSD] 20030205 (release) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for c
opying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/usr/local/jdk1.1.8/bin:/usr/local/jdk1.1.8
/jre/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 = 5.1-RELEASE
   TRUE_PLATFORM = FreeBSD (5.x CURRENT way)
   FREE_SPACE = -38156
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 = chilly_11_jul_2003_00_06
   BUNDLE_DATE = 11_jul_2003
External File/Binary Locations:
   HOTSPOT_SERVER_PATH = /root/downloads/java/jdk141Make/work/control/build/bsd-i586/hotspot-i586/server
   HOTSPOT_CLIENT_PATH = /root/downloads/java/jdk141Make/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.zip
   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 may not have enough free space in your OUTPUTDIR. The
         current value of OUTPUTDIR is
             /root/downloads/java/jdk141Make/work/control/build/bsd-i586
         You need 1460000 bytes free on this device to build
         and it appears that only -38156 bytes are free.
         Either obtain more space or set ALT_OUTPUTDIR to a larger disk.
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.zip
         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 /root/downloads/java/jdk141Make.
 
//###################################
... so I could extract            "/usr/local/linux-sun-jdk1.4.1/bin/java" but what other headaches am I going to encounter that I could possibly prevent by using a Makefile that would recognize 5.1-RELEASE as being "later" than 4.7 / 5.0
 
//####################################
I have 8GB drive and fd is about like this before install.  Install claims I only need
about 1.5GB for jdk-src install.  I ran out space on first attempt and it seems I may be getting low with warnings it shows.  Just need to get it all installed then I can "make clean"
 
 
Filesystem  1K-blocks    Used   Avail Capacity  Mount
/dev/ad0s1a    253678   59520  173864    28%    /
devfs               1       1       0   100%    /dev
/dev/ad0s1e   5708182 1559308 3692220    32%    /usr
/dev/ad0s1d   1012974    8002  923936     1%    /var
//#############################################
 
Want to use jdk1.4.1 to take advantage of latest performance enhancements I am guessing are through the new NIO libraries.  This would make the Java-FreeBSD even more potent not to mention Tomcat 5.0 performance enhancements.
 
Help Appreciated.
HD


---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!


More information about the freebsd-java mailing list