Talk:JDK

From CBLFS
Revision as of 03:28, 10 April 2007 by 87.16.93.97 (talk) (New page: Hy, when i try to build JDK i get in: cd control/make && make && cd ../build/linux-amd64 this error : Build Machine Information: build machine = darkstar.example.net Build Dir...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Hy, when i try to build JDK i get in:

cd control/make &&
 make &&
cd ../build/linux-amd64

this error :

Build Machine Information:
  build machine = darkstar.example.net
Build Directory Structure:
  CWD = /tmp/java/jdk-build/control/make
  TOPDIR = ./../..
  CONTROL_TOPDIR = ./../../control
  HOTSPOT_TOPDIR = ./../../hotspot
  J2SE_TOPDIR = ./../../j2se
  MOTIF_TOPDIR = ./../../motif
Build Directives:
  BUILD_HOTSPOT  = true
  BUILD_MOTIF    = true
  BUILD_INSTALL  = false
  BUILD_SPONSORS = false
Hotspot Settings:
  HOTSPOT_BUILD_JOBS =
Bootstrap Settings:
  BOOTDIR = /opt/jdk/jdk-precompiled-1.5.0_11
  BOOTSTRAP J2SDK VERSION: 1.5.0_11
  OUTPUTDIR = /tmp/java/jdk-build/control/build/linux-amd64
Build Tool Settings:
  JDK_DEVTOOLS_DIR = /java/devtools
  UNIXCOMMAND_PATH = /bin/
  COMPILER_PATH = /usr/bin/
  DEVTOOLS_PATH = /usr/bin/
  USRBIN_PATH = /usr/bin/
  MOTIF_DIR = /tmp/java/jdk-build/control/build/linux-amd64/motif-amd64
  CC_VER = 4.1.2
  ZIP_VER = 2.31
  PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:/opt/jdk/jdk-precompiled-1.5.0_11/bin:/opt/jdk/jdk-precompiled-1.5.0_11/bin:/opt/jdk/jdk-precompiled-1.5.0_11/bin
  TMPDIR = /tmp/java/jdk-build/control/build/linux-amd64/tmp
Build Directives:
  USE_ONLY_BOOTDIR_TOOLS =
  USE_HOTSPOT_INTERPRETER_MODE =
  PEDANTIC =
  DEV_ONLY = true
  J2RE_ONLY =
  NO_DOCS =
  NO_IMAGES =
  TOOLS_ONLY =
  INSANE =
  PARALLEL_COMPILES = false
  PARALLEL_COMPILE_JOBS = 2
  FASTDEBUG = true
  INCREMENTAL_BUILD = false
Build Platform Settings:
  PLATFORM = linux
  ARCH = amd64
  LIBARCH = amd64
  ARCH_FAMILY = amd64
  ARCH_DATA_MODEL = 64
  LINUX_VERSION =
  OS_VERSION = 2.6.18.8-smp
  ALSA_VERSION = 1.0.14rc2
  FREE_SPACE = 25548236
GNU Make Settings:
  MAKE = make
  MAKE VERSION =
  MAKECMDGOALS = sanity
  MAKEFLAGS =
  SHELL = /bin/sh
Target Build Versions:
  JDK_VERSION = 1.5.0
  MILESTONE = internal
  BUILD_NUMBER = update-11
External File/Binary Locations:
  HOTSPOT_SERVER_PATH = /tmp/java/jdk-build/control/build/linux-amd64/hotspot-amd64/server
  HOTSPOT_IMPORT_PATH = /tmp/java/jdk-build/control/build/linux-amd64/hotspot-amd64/import
  MOTIF_DIR = /tmp/java/jdk-build/control/build/linux-amd64/motif-amd64
  CACERTS_FILE = /opt/jdk/jdk-precompiled-1.5.0_11/jre/lib/security/cacerts
WARNING: Your are not building INSTALL workspace from
        the control build. This will result in a development-only
        build of the J2SE workspace, lacking the installation bundles
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 build environment has the variable DEV_ONLY
        defined. This will result in a development-only
        build of the J2SE workspace, lacking the documentation
        build and installation bundles.
WARNING: The version of make being used does not match
      the expected version for this platform.
      The version of make found was -><-
      The version expected matches the pattern ->3.7[89].1,<-.
WARNING: You are building on an unsupported brand of Linux.
        The supported version is SuSE Enterprise Linux release 8.1.
WARNING: You are using an unsupported kernel version of Linux.
        The supported kernel version is 2.4.*.
        Your kernel version is 2.6.18.8-smp
ERROR: There is no GNU CC compiler at the location:
      /usr/bin/
ERROR: There is no zip file at the location:
      zip
ERROR: Your BOOTDIR environment variable does not point
      to a valid Java 2 SDK for bootstrapping this build.
      A Java 2 SDK 5.0 build must be bootstrapped using
      J2SDK 1.4.2 fcs (or later).
      Apparently, your bootstrap JDK is version 1.5.0_11
      Please update your ALT_BOOTDIR setting and start your build again.
Exiting because of the above error(s).
make: *** [post-sanity] Error 1


Can someone help me?! Thanks in advance!