JDK1.4.1 with patchset3 on FreeBSD 5.1-RELEASE

JDK1.4.1 with patchset3 on FreeBSD 5.1-RELEASE

Post by Free B » Sat, 12 Jul 2003 16:22:39



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!
_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

 
 
 

JDK1.4.1 with patchset3 on FreeBSD 5.1-RELEASE

Post by Alexey Zelk » Sat, 12 Jul 2003 16:26:53


hi,

This error appeaared at your build simply because you forgot linux
emulation before starting build.

Do kldload linux.ko and try again.


> 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...

[dd]

_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java


 
 
 

JDK1.4.1 with patchset3 on FreeBSD 5.1-RELEASE

Post by Khairil Yus » Wed, 16 Jul 2003 09:11:38


--=-bfqhOUq0i/J1iStyI80k
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable



> > 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"
>=20
> I don't get it - I've recently installed native jdk-1.4.1 from ports on
> two separate 5.1-CURRENT systems without a hitch.

I just got the same errors when I tried it out.. see my uname below
(world built yesterday).

--
"Optimized, readable, on time; Pick any two."=20

FreeBSD 5.1-CURRENT i386=20
8:09AM up 8:03, 2 users, load averages: 0.62, 0.45, 0.35

--=-bfqhOUq0i/J1iStyI80k
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQA/E0akDAqnLW/+/X8RArjGAJ9D8tLIulvEIemCK2XctAn8JRuIXQCfdhNV
OuIqCQBLBkEbStcthN3KuhM=
=zUTm
-----END PGP SIGNATURE-----

--=-bfqhOUq0i/J1iStyI80k--

 
 
 

1. JDK1.4 on FreeBSD 5.1: build problems

Hi,
I'm trying to compile the jdk14 port,
but the build process dies:

Making adlc
../generated/adfiles/filebuff.o: In function
`FileBuffRegion::print(ostream&)':
/usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:255:
undefined reference to `ostream::opera
tor<<(char const*)'
[...]

My system:
FreeBSD beebop.23.nu 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Tue Jul  1
21:48:57 CEST 2003    

g++ (GCC) 3.2.2 [FreeBSD] 20030205 (release)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

regards,
chris

_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

2. Security matters surrounding SCO IP - I don't know if this has been mentioned before.

3. FWD: FreeBSD 4.1 RELEASE is out.IPSEC,IPv6 etc. included.

4. Can't write vmalloc() mem in interrupt, 2.1.125/6

5. FreeBSD 4.1-RELEASE disk prob

6. KDE Theme Manager Icon problem

7. Apm on FreeBSD 4.1-RELEASE

8. NETWORKS, and route command

9. apm on FreeBSD 4.1-RELEASE

10. ThinkPad 755CX & FreeBSD 4.1-RELEASE

11. FreeBSD 4.1 release date...?

12. FreeBSD 4.1 and BSD/OS 4.1 Compatibility?