• Post Reply Bookmark Topic Watch Topic
  • New Topic

Build JDK 1.4.2 on Linux  RSS feed

 
Dheeraj Thakkar
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am trying to build jdk1.4.2 from source on linux and it gives me following error when I try to run gmake from /control/make directory. Any help appreciated:


Build Directory Structure:
CWD = /net/xserve/Home/dthakkar/j2sdk/trunk/control/make
TOPDIR = ./../..
CONTROL_TOPDIR = ./../../control
GENERICS_TOPDIR = ./../../generics
HOTSPOT_TOPDIR = ./../../hotspot
J2SE_TOPDIR = ./../../j2se
MOTIF_TOPDIR = ./../../motif

External File/Binary Locations:
PREVIOUS_JRE_BUNDLE = /java/re/j2se/1.4.1/archive/fcs/bundles/linux-i586/j2re-1_4_1-linux-i586.tar.gz
PREVIOUS_JDK_BUNDLE = /java/re/j2se/1.4.1/archive/fcs/bundles/linux-i586/j2sdk-1_4_1-linux-i586.tar.gz

Hotspot Settings:
HOTSPOT_BUILD_JOBS =

Bootstrap Settings:
JAVAWS_BOOTDIR = /java/re/j2se/1.4.1/archive/fcs/binaries/linux-i586
BOOTSTRAP J2SDK VERSION:
OUTPUTDIR = /net/xserve/Home/dthakkar/j2sdk/trunk/control/build/linux-i586

Build Tool Settings:
UNIXCOMMAND_PATH = /bin/
COMPILER_PATH = /usr/bin/
DEVTOOLS_PATH = /java/devtools/linux/bin/
USRBIN_PATH = /usr/bin/
GCC32_COMPILER_PATH = /java/devtools/linux/gcc3.2/
MOZILLA_PATH =
MOZILLA_HEADERS_PATH =
MOZILLA_LIBS_PATH =
CC_VER = gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) Copyright (C) 2004 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.
PATH = /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin

Build Directives:
PEDANTIC =
INSANE =

Build Platform Settings:
PLATFORM = linux
ARCH = i586
LIBARCH = i386
ARCH_FAMILY = i586
ARCH_DATA_MODEL = 32
RH_VERSION = (Heidelberg)
OS_VERSION = 2.6.9-1.667
TRUE_PLATFORM = Linux
FREE_SPACE = 90022064

GNU Make Settings:
MAKE = gmake
MAKE VERSION =
MAKECMDGOALS = sanity
MAKEFLAGS = w -- BUILD_NUMBER=dthakkar_09_jun_2005_18_10 MILESTONE=p7 ARCH_DATA_MODEL=32 ALT_OUTPUTDIR=/net/xserve/Home/dthakkar/j2sdk/trunk/control/build/linux-i586 CONTROL_TOPDIR_NAME=control CONTROL_TOPDIR=/net/xserve/Home/dthakkar/j2sdk/trunk/control EXTERNALSANITYCONTROL=true
SHELL = /bin/sh

Target Build Versions:
JAVAWS_VERSION = 1.4.2
MILESTONE = p7
BUILD_NUMBER = dthakkar_09_jun_2005_18_10

Bootstrap Settings:
BOOTDIR = /java/re/j2se/1.4.1/archive/fcs/binaries/linux-i586
BOOTSTRAP J2SDK VERSION:
OUTPUTDIR = /net/xserve/Home/dthakkar/j2sdk/trunk/control/build/linux-i586

Build Tool Settings:
UNIXCOMMAND_PATH = /bin/
COMPILER_PATH = /usr/bin/
DEVTOOLS_PATH = /java/devtools/linux/bin/
USRBIN_PATH = /usr/bin/
MOTIF_DIR = /net/xserve/Home/dthakkar/j2sdk/trunk/control/build/linux-i586/motif
CC_VER = 3.4.2
ZIP_VER = 2.3
PATH = /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin

Build Directives:
USE_ONLY_BOOTDIR_TOOLS =
USE_HOTSPOT_INTERPRETER_MODE =
PEDANTIC =
DEV_ONLY =
J2RE_ONLY =
NO_DOCS =
NO_IMAGES =
TOOLS_ONLY = true
INSANE =

Build Platform Settings:
PLATFORM = linux
ARCH = i586
LIBARCH = i386
ARCH_FAMILY = i586
ARCH_DATA_MODEL = 32
RH_VERSION = (Heidelberg)
OS_VERSION = 2.6.9-1.667
ALSA_VERSION = 1.0.6
TRUE_PLATFORM = Linux
FREE_SPACE = 90022048

GNU Make Settings:
MAKE = gmake
MAKE VERSION =
MAKECMDGOALS = sanity
MAKEFLAGS =
SHELL = /bin/sh

Target Build Versions:
JDK_VERSION = 1.4.2
MILESTONE = p7
BUILD_NUMBER = dthakkar_09_jun_2005_18_10

External File/Binary Locations:
HOTSPOT_SERVER_PATH = /net/xserve/Home/dthakkar/j2sdk/trunk/control/build/linux-i586/hotspot-i586/server
HOTSPOT_CLIENT_PATH = /net/xserve/Home/dthakkar/j2sdk/trunk/control/build/linux-i586/hotspot-i586/client
MOTIF_DIR = /net/xserve/Home/dthakkar/j2sdk/trunk/control/build/linux-i586/motif
CACERTS_FILE = ./../src/share/lib/security/cacerts

No setting required for Unix Systems
WARNING: You are using an unsupported kernel version of Linux.
The supported kernel version is 2.2.*.
Your kernel version is 2.6.9-1.667


ERROR: JAVAWS_BOOTDIR does not point to a valid Java 2 SDK
Check that you have access to
/java/re/j2se/1.4.1/archive/fcs/binaries/linux-i586/bin/java
and/or check your value of ALT_JAVAWS_BOOTDIR.

ERROR: You do not have a valid DEVTOOLS_PATH setting.
Please check your access to
/java/devtools/linux/bin/
and/or check your value of ALT_DEVTOOLS_PATH.

ERROR: The Linux GCC compiler must be version 2.91.*.
You are using the following compiler version: 3.4.2
The compiler was obtained from the following location:
/usr/bin/
Please change your compiler.

ERROR: BOOTDIR does not point to a valid Java 2 SDK
Check that you have access to
/java/re/j2se/1.4.1/archive/fcs/binaries/linux-i586/bin/java
and/or check your value of ALT_BOOTDIR.

ERROR: The ALSA version must be 0.9.0rc5 or higher.
You have the following ALSA version installed: 1.0.6
Please reinstall ALSA (drivers and lib). You can download
the source distribution from http://www.alsa-project.org
or go to http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages.

ERROR: You do not have access to the previous java release jre bundles.
Please check your access to
/java/re/j2se/1.4.1/archive/fcs/bundles/linux-i586/j2re-1_4_1-linux-i586.tar.gz
and/or check your value of ALT_PREVIOUS_RELEASE_PATH or ALT_PREVIOUS_JRE_FILE
This will affect you if you build the images target.

ERROR: You do not have access to the previous java release sdk bundles.
Please check your access to

and/or check your value of ALT_PREVIOUS_RELEASE_PATH or ALT_PREVIOUS_JDK_FILE.
This will affect you if you build the images target.

Exiting because of the above error(s).

gmake: *** [post-sanity] Error 1
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which message don't you understand? Most of them are pretty clear.
 
Mark Wuest
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dheeraj Thakkar:

ERROR: The ALSA version must be 0.9.0rc5 or higher.
You have the following ALSA version installed: 1.0.6
Please reinstall ALSA (drivers and lib). You can download
the source distribution from http://www.alsa-project.org
or go to http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages.

I agree that most of the problems seem clear, but this kind always bugs me. 'Makes you wish you had someone to call so you could say, "Dude, DO THE MATH! 1.0.6 IS higher than 0.9.0rc5!".

Mark
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!