From 0c401657e1ee979812445197b44ba8cdad773d86 Mon Sep 17 00:00:00 2001 From: Kelly O'Hair Date: Thu, 3 Sep 2009 17:44:28 -0700 Subject: [PATCH 1/4] 6855174: Improve log output when builds transition from one workspace to another Reviewed-by: jjg --- make/Defs-internal.gmk | 17 +++++++++++++++++ make/corba-rules.gmk | 4 ++++ make/deploy-rules.gmk | 8 ++++++-- make/hotspot-rules.gmk | 2 ++ make/install-rules.gmk | 10 ++++++++++ make/jaxp-rules.gmk | 4 ++++ make/jaxws-rules.gmk | 4 ++++ make/jdk-rules.gmk | 8 ++++++++ make/langtools-rules.gmk | 8 ++++++-- make/sponsors-rules.gmk | 4 +++- 10 files changed, 64 insertions(+), 5 deletions(-) diff --git a/make/Defs-internal.gmk b/make/Defs-internal.gmk index 45f80ecaf97..e3c6a2db7b2 100644 --- a/make/Defs-internal.gmk +++ b/make/Defs-internal.gmk @@ -28,6 +28,23 @@ # not contain rules. # +# Indicate that we are visiting a separate repo or component +define MakeStart +$(PRINTF) "\n\n%s\n%s\n##### %-60.60s #####\n%s\n" \ +"########################################################################" \ +"########################################################################" \ +"Entering $1 for target $2" \ +"########################################################################" +endef + +define MakeFinish +$(PRINTF) "%s\n##### %-60.60s #####\n%s\n%s\n\n" \ +"########################################################################" \ +"Leaving $1 for target $2" \ +"########################################################################" \ +"########################################################################" +endef + ifdef OPENJDK ifneq ($(OPENJDK),true) x:=$(error "OPENJDK (if defined) can only be set to true") diff --git a/make/corba-rules.gmk b/make/corba-rules.gmk index bcd89f32ef7..6d8a98e0942 100644 --- a/make/corba-rules.gmk +++ b/make/corba-rules.gmk @@ -40,13 +40,17 @@ endif corba: corba-build corba-build: $(MKDIR) -p $(CORBA_OUTPUTDIR) + @$(call MakeStart, corba, all) ($(CD) $(CORBA_TOPDIR)/make && \ $(MAKE) $(CORBA_BUILD_ARGUMENTS) all) + @$(call MakeFinish, corba, all) corba-clobber:: $(MKDIR) -p $(CORBA_OUTPUTDIR) + @$(call MakeStart, corba, clobber) ($(CD) $(CORBA_TOPDIR)/make && \ $(MAKE) $(CORBA_BUILD_ARGUMENTS) clobber) + @$(call MakeFinish, corba, clobber) .PHONY: corba corba-build corba-clobber diff --git a/make/deploy-rules.gmk b/make/deploy-rules.gmk index afec0ea267a..10e10ff5ed6 100644 --- a/make/deploy-rules.gmk +++ b/make/deploy-rules.gmk @@ -121,14 +121,18 @@ endif deploy-build: ifeq ($(BUILD_DEPLOY), true) + @$(call MakeStart, deploy, $(DEPLOY_BUILD_TARGETS)) ($(CD) $(DEPLOY_TOPDIR)/make && \ - $(MAKE) $(DEPLOY_BUILD_TARGETS) $(DEPLOY_BUILD_ARGUMENTS)) + $(MAKE) $(DEPLOY_BUILD_TARGETS) $(DEPLOY_BUILD_ARGUMENTS)) + @$(call MakeFinish, deploy, $(DEPLOY_BUILD_TARGETS)) endif deploy-clobber:: ifeq ($(BUILD_DEPLOY), true) + @$(call MakeStart, deploy, clobber) ($(CD) $(DEPLOY_TOPDIR)/make && \ - $(MAKE) clobber $(DEPLOY_BUILD_ARGUMENTS)) + $(MAKE) clobber $(DEPLOY_BUILD_ARGUMENTS)) + @$(call MakeFinish, deploy, clobber) endif deploy-sanity:: diff --git a/make/hotspot-rules.gmk b/make/hotspot-rules.gmk index 6bae44cadd8..baa9988a863 100644 --- a/make/hotspot-rules.gmk +++ b/make/hotspot-rules.gmk @@ -88,8 +88,10 @@ endif hotspot-build:: $(MKDIR) -p $(HOTSPOT_OUTPUTDIR) $(MKDIR) -p $(HOTSPOT_EXPORT_PATH) + @$(call MakeStart, hotspot, $(HOTSPOT_TARGET)) $(CD) $(HOTSPOT_TOPDIR)/make && \ $(MAKE) $(HOTSPOT_BUILD_ARGUMENTS) $(HOTSPOT_TARGET) + @$(call MakeFinish, hotspot, $(HOTSPOT_TARGET)) ##################### # .PHONY diff --git a/make/install-rules.gmk b/make/install-rules.gmk index dc85f05b760..05ba70bc187 100644 --- a/make/install-rules.gmk +++ b/make/install-rules.gmk @@ -57,38 +57,48 @@ install: install-build install-build: ifeq ($(BUILD_INSTALL), true) + @$(call MakeStart, install, $(INSTALL_BUILD_TARGETS)) ($(CD) $(INSTALL_TOPDIR)/make && \ $(MAKE) $(INSTALL_BUILD_TARGETS) $(INSTALL_BUILD_ARGUMENTS)) + @$(call MakeFinish, install, $(INSTALL_BUILD_TARGETS)) endif update-patcher: ifeq ($(BUILD_INSTALL), true) if [ -r $(INSTALL_TOPDIR)/make/update/Makefile ]; then \ + $(call MakeStart, install update, all); \ ( $(CD) $(INSTALL_TOPDIR)/make/update && \ $(MAKE) all $(INSTALL_BUILD_ARGUMENTS) ); \ + $(call MakeFinish, install, all); \ fi endif update-patchgen: ifeq ($(BUILD_INSTALL), true) if [ -r $(INSTALL_TOPDIR)/make/update/Makefile ]; then \ + $(call MakeStart, install update, patchgen); \ ( $(CD) $(INSTALL_TOPDIR)/make/update && \ $(MAKE) patchgen $(INSTALL_BUILD_ARGUMENTS) ); \ + $(call MakeFinish, install, patchgen); \ fi endif installer: ifeq ($(BUILD_INSTALL), true) if [ -r $(INSTALL_TOPDIR)/make/installer/Makefile ]; then \ + $(call MakeStart, install installer, all); \ ( $(CD) $(INSTALL_TOPDIR)/make/installer && \ $(MAKE) all $(INSTALL_BUILD_ARGUMENTS) ); \ + $(call MakeFinish, install, all); \ fi endif install-clobber: ifeq ($(BUILD_INSTALL), true) + @$(call MakeStart, install, clobber) ($(CD) $(INSTALL_TOPDIR)/make && \ $(MAKE) clobber $(INSTALL_BUILD_ARGUMENTS)) + @$(call MakeFinish, install, clobber) endif install-sanity:: diff --git a/make/jaxp-rules.gmk b/make/jaxp-rules.gmk index 5d12acc91df..a4f0cc8b412 100644 --- a/make/jaxp-rules.gmk +++ b/make/jaxp-rules.gmk @@ -40,13 +40,17 @@ endif jaxp: jaxp-build jaxp-build: $(MKDIR) -p $(JAXP_OUTPUTDIR) + @$(call MakeStart, jaxp, all) ($(CD) $(JAXP_TOPDIR)/make && \ $(MAKE) $(JAXP_BUILD_ARGUMENTS) all) + @$(call MakeFinish, jaxp, all) jaxp-clobber:: $(MKDIR) -p $(JAXP_OUTPUTDIR) + @$(call MakeStart, jaxp, clobber) ($(CD) $(JAXP_TOPDIR)/make && \ $(MAKE) $(JAXP_BUILD_ARGUMENTS) clobber) + @$(call MakeFinish, jaxp, clobber) .PHONY: jaxp jaxp-build jaxp-clobber diff --git a/make/jaxws-rules.gmk b/make/jaxws-rules.gmk index 361857af8aa..f82d3f96a70 100644 --- a/make/jaxws-rules.gmk +++ b/make/jaxws-rules.gmk @@ -40,13 +40,17 @@ endif jaxws: jaxws-build jaxws-build: $(MKDIR) -p $(JAXWS_OUTPUTDIR) + @$(call MakeStart, jaxws, all) ($(CD) $(JAXWS_TOPDIR)/make && \ $(MAKE) $(JAXWS_BUILD_ARGUMENTS) all) + @$(call MakeFinish, jaxws, all) jaxws-clobber:: $(MKDIR) -p $(JAXWS_OUTPUTDIR) + @$(call MakeStart, jaxws, clobber) ($(CD) $(JAXWS_TOPDIR)/make && \ $(MAKE) $(JAXWS_BUILD_ARGUMENTS) clobber) + @$(call MakeFinish, jaxws, clobber) .PHONY: jaxws jaxws-build jaxws-clobber diff --git a/make/jdk-rules.gmk b/make/jdk-rules.gmk index a84c776a823..b9416bd0070 100644 --- a/make/jdk-rules.gmk +++ b/make/jdk-rules.gmk @@ -98,12 +98,16 @@ $(JDK_JAVA_EXE):: jdk-build jdk: jdk-build jdk-build: + @$(call MakeStart, jdk, $(JDK_BUILD_TARGETS)) ( $(CD) $(JDK_TOPDIR)/make && \ $(MAKE) $(JDK_BUILD_TARGETS) $(JDK_BUILD_ARGUMENTS) ; ) + @$(call MakeFinish, jdk, $(JDK_BUILD_TARGETS)) jdk-clobber:: + @$(call MakeStart, jdk, $(JDK_CLOBBER_TARGETS)) ( $(CD) $(JDK_TOPDIR)/make && \ $(MAKE) $(JDK_CLOBBER_TARGETS) $(JDK_BUILD_ARGUMENTS) ; ) + @$(call MakeFinish, jdk, $(JDK_CLOBBER_TARGETS)) jdk-sanity:: ( $(CD) $(JDK_TOPDIR)/make && \ @@ -111,13 +115,17 @@ jdk-sanity:: compare-images: compare-image compare-image: + @$(call MakeStart, jdk, compare-image) ( $(CD) $(JDK_TOPDIR)/make && \ $(MAKE) ALT_OUTPUTDIR=$(ABS_OUTPUTDIR) compare-image ) + @$(call MakeFinish, jdk, compare-image) compare-images-clobber: compare-image-clobber compare-image-clobber: + @$(call MakeStart, jdk, compare-image-clobber) ( $(CD) $(JDK_TOPDIR)/make && \ $(MAKE) ALT_OUTPUTDIR=$(ABS_OUTPUTDIR) compare-image-clobber ) + @$(call MakeFinish, jdk, compare-image-clobber) .PHONY: jdk jdk-build jdk-clobber jdk-sanity diff --git a/make/langtools-rules.gmk b/make/langtools-rules.gmk index 06bffa1f75d..aef4069d0b7 100644 --- a/make/langtools-rules.gmk +++ b/make/langtools-rules.gmk @@ -35,13 +35,17 @@ LANGTOOLS_BUILD_ARGUMENTS = \ langtools: langtools-build langtools-build: $(MKDIR) -p $(LANGTOOLS_OUTPUTDIR) + @$(call MakeStart, langtools, all) ($(CD) $(LANGTOOLS_TOPDIR)/make && \ - $(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) all) + $(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) all) + @$(call MakeFinish, langtools, all) langtools-clobber:: $(MKDIR) -p $(LANGTOOLS_OUTPUTDIR) + @$(call MakeStart, langtools, clobber) ($(CD) $(LANGTOOLS_TOPDIR)/make && \ - $(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) clobber) + $(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) clobber) + @$(call MakeFinish, langtools, clobber) .PHONY: langtools langtools-build langtools-clobber diff --git a/make/sponsors-rules.gmk b/make/sponsors-rules.gmk index 15ba2bc3d35..412b86f8660 100644 --- a/make/sponsors-rules.gmk +++ b/make/sponsors-rules.gmk @@ -59,8 +59,10 @@ endif sponsors-build: ifeq ($(ARCH_DATA_MODEL), 32) ifeq ($(BUILD_SPONSORS), true) + @$(call MakeStart, sponsors, $(SPONSORS_BUILD_TARGETS)) ($(CD) $(SPONSORS_TOPDIR)/make && \ - $(MAKE) $(SPONSORS_BUILD_TARGETS) $(SPONSORS_BUILD_ARGUMENTS)) + $(MAKE) $(SPONSORS_BUILD_TARGETS) $(SPONSORS_BUILD_ARGUMENTS)) + @$(call MakeFinish, sponsors, $(SPONSORS_BUILD_TARGETS)) endif endif From 003a900fadd9bf4ee250c19894963d15be0ce927 Mon Sep 17 00:00:00 2001 From: Xiomara Jayasena Date: Thu, 17 Sep 2009 13:46:39 -0700 Subject: [PATCH 2/4] Added tag jdk7-b72 for changeset 457827146a9c --- .hgtags-top-repo | 1 + 1 file changed, 1 insertion(+) diff --git a/.hgtags-top-repo b/.hgtags-top-repo index 940c34fa250..9927f7c8b40 100644 --- a/.hgtags-top-repo +++ b/.hgtags-top-repo @@ -46,3 +46,4 @@ e1b972ff53cd58f825791f8ed9b2deffd16e768c jdk7-b68 82e6c820c51ac27882b77755d42efefdbf1dcda0 jdk7-b69 175cb3fe615998d1004c6d3fd96e6d2e86b6772d jdk7-b70 4c36e9853dda27bdac5ef4839a610509fbe31d34 jdk7-b71 +0d7e03b426df27c21dcc44ffb9178eacd1b04f10 jdk7-b72 From 61b219fab0838001ac35b2850ddf197eee5b1f05 Mon Sep 17 00:00:00 2001 From: Xiomara Jayasena Date: Tue, 22 Sep 2009 14:06:04 -0700 Subject: [PATCH 3/4] 6884624: Update copyright year Update copyright for files that have been modified in 2009 through Septermber Reviewed-by: tbell, ohair --- make/corba-rules.gmk | 2 +- make/hotspot-rules.gmk | 2 +- make/install-rules.gmk | 2 +- make/jaxp-rules.gmk | 2 +- make/jaxws-rules.gmk | 2 +- make/langtools-rules.gmk | 2 +- make/sponsors-rules.gmk | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/make/corba-rules.gmk b/make/corba-rules.gmk index 6d8a98e0942..7b802e8abd7 100644 --- a/make/corba-rules.gmk +++ b/make/corba-rules.gmk @@ -1,5 +1,5 @@ # -# Copyright 2001-2007 Sun Microsystems, Inc. All Rights Reserved. +# Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff --git a/make/hotspot-rules.gmk b/make/hotspot-rules.gmk index baa9988a863..b99ffb79f93 100644 --- a/make/hotspot-rules.gmk +++ b/make/hotspot-rules.gmk @@ -1,5 +1,5 @@ # -# Copyright 2001-2007 Sun Microsystems, Inc. All Rights Reserved. +# Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff --git a/make/install-rules.gmk b/make/install-rules.gmk index 05ba70bc187..19db21cf5a1 100644 --- a/make/install-rules.gmk +++ b/make/install-rules.gmk @@ -1,5 +1,5 @@ # -# Copyright 2002-2007 Sun Microsystems, Inc. All Rights Reserved. +# Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff --git a/make/jaxp-rules.gmk b/make/jaxp-rules.gmk index a4f0cc8b412..5385e8033b1 100644 --- a/make/jaxp-rules.gmk +++ b/make/jaxp-rules.gmk @@ -1,5 +1,5 @@ # -# Copyright 2001-2007 Sun Microsystems, Inc. All Rights Reserved. +# Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff --git a/make/jaxws-rules.gmk b/make/jaxws-rules.gmk index f82d3f96a70..9b434c8c128 100644 --- a/make/jaxws-rules.gmk +++ b/make/jaxws-rules.gmk @@ -1,5 +1,5 @@ # -# Copyright 2001-2007 Sun Microsystems, Inc. All Rights Reserved. +# Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff --git a/make/langtools-rules.gmk b/make/langtools-rules.gmk index aef4069d0b7..04ec6514433 100644 --- a/make/langtools-rules.gmk +++ b/make/langtools-rules.gmk @@ -1,5 +1,5 @@ # -# Copyright 2001-2007 Sun Microsystems, Inc. All Rights Reserved. +# Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff --git a/make/sponsors-rules.gmk b/make/sponsors-rules.gmk index 412b86f8660..bb0e1d97cdd 100644 --- a/make/sponsors-rules.gmk +++ b/make/sponsors-rules.gmk @@ -1,5 +1,5 @@ # -# Copyright 2006-2007 Sun Microsystems, Inc. All Rights Reserved. +# Copyright 2006-2009 Sun Microsystems, Inc. All Rights Reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it From 73e9e343caf8c8f4d80a4e291be46f50b31cd518 Mon Sep 17 00:00:00 2001 From: Dalibor Topic Date: Wed, 23 Sep 2009 20:06:01 +0200 Subject: [PATCH 4/4] 6872735: Further update build readme for new platforms 6641691: Bring build readme's up-to-date Added build instructions for Debian, Ubuntu 8.04, 8.10, 9.04, Fedora 10, 11, OpenSolaris 2009.06, OpenSUSE and Mandriva Reviewed-by: ohair, andrew --- README-builds.html | 349 +++++++++++++++++++++++++-------------------- 1 file changed, 195 insertions(+), 154 deletions(-) diff --git a/README-builds.html b/README-builds.html index cffe092dc03..414403b2ee3 100644 --- a/README-builds.html +++ b/README-builds.html @@ -38,12 +38,17 @@
  • Introduction
  • Minimum Build Environments
  • -
  • Specific Developer Build Environments
  • +
  • Specific Developer Build Environments +
  • Source Directory Structure
  • Build Information
      @@ -209,24 +214,59 @@ we will try to provide what information we have available to us. -

      Fedora 9

      +

      Fedora

      - After installing - Fedora 9 - you need to make sure you have - the "Software Development" bundle installed, plus the - following packages: -
      -
        -
      • cups devel: Cups Development Package
      • -
      • freetype 2.3+ devel: Freetype 2.3 Development Package
      • -
      • hg: Mercurial, if you need to clone or manage source repositories
      • -
      • ksh: May be needed when using webrev
      • -
      +

      Fedora 9

      +

      +

      + After installing Fedora 9 + you need to install several build dependencies. The simplest + way to do it is to execute the following commands as user + root: +

      + yum-builddep java-openjdk +

      + yum install gcc gcc-c++ +

      + In addition, it's necessary to set a few environment variables for the build: + +

      + export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk

      -

      - Always a good idea to do a complete Software Update/Refresh - after you get all the packages installed. +

      Fedora 10

      +

      +

      + After installing Fedora 10 + you need to install several build dependencies. The simplest + way to do it is to execute the following commands as user + root: +

      + yum-builddep java-1.6.0-openjdk +

      + yum install gcc gcc-c++ +

      + In addition, it's necessary to set a few environment variables for the build: + +

      + export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk +

      +

      Fedora 11

      +

      +

      + After installing Fedora 11 + you need to install several build dependencies. The simplest + way to do it is to execute the following commands as user + root: +

      + yum-builddep java-1.6.0-openjdk +

      + yum install gcc gcc-c++ +

      + In addition, it's necessary to set a few environment variables for the build: + +

      + export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk +

      CentOS 5.2

      @@ -269,145 +309,146 @@ it's needed.
      -

      Ubuntu

      +

      Debian

      - In addition to needing the Bootstrap JDK and the Binary Plugs, - when building on Ubuntu you will need to - make sure certain packages are installed. - In particular, certain X11 packages, make, m4, gawk, gcc 4, - binutils, cups, freetype - and alsa. - -

      Ubuntu 6.06

      +

      Debian 5.0 (Lenny)

      - The following list of packages for Ubuntu 6.06 is a working set that - does appear to work. -

      - Note that it's quite possible that some of these - packages are not required, so anyone discovering that some of the - packages listed below are NOT required, - please let the - OpenJDK - team know. -

      - All the packages below can be installed with the - Synaptic Package manager provided with the base Ubuntu 6.06 release. -

      -
        -
      • binutils (2.16.1cvs20060117-1ubuntu2.1)
      • -
      • cpp (4:4.0.3-1)
      • -
      • cpp-4.0 (4.0.3-1ubuntu5)
      • -
      • libfreetype6-dev
      • -
      • g++ (4:4.0.3-1)
      • -
      • g++-4.0 (4.0.3-1ubuntu5)
      • -
      • gawk (1:3.1.5-2build1)
      • -
      • gcc (4:4.0.3-1)
      • -
      • gcc-4.0 (4.0.3-1ubuntu5)
      • -
      • libasound2-dev (1.0.10-2ubuntu4)
      • -
      • libc6 (2.3.6-0ubuntu20) to 2.3.6-0ubuntu20.4
      • -
      • libc6-dev (2.3.6-0ubuntu20.4)
      • -
      • libc6-i686 (2.3.6-0ubuntu20) to 2.3.6-0ubuntu20.4
      • -
      • libcupsys2-dev (1.2.2-0ubuntu0.6.06)
      • -
      • libgcrypt11-dev (1.2.2-1)
      • -
      • libgnutls-dev (1.2.9-2ubuntu1.1)
      • -
      • libgnutls12 (1.2.9-2ubuntu1) to 1.2.9-2ubuntu1.1
      • -
      • libgpg-error-dev (1.1-4)
      • -
      • libice-dev (2:1.0.0-0ubuntu2)
      • -
      • liblockfile1 (1.06.1)
      • -
      • libopencdk8-dev (0.5.7-2)
      • -
      • libpopt-dev (1.7-5)
      • -
      • libsm-dev (2:1.0.0-0ubuntu2)
      • -
      • libstdc++6-4.0-dev (4.0.3-1ubuntu5)
      • -
      • libtasn1-2-dev (0.2.17-1ubuntu1)
      • -
      • libx11-dev (2:1.0.0-0ubuntu9)
      • -
      • libxau-dev (1:1.0.0-0ubuntu4)
      • -
      • libxaw-headers (2:1.0.1-0ubuntu3)
      • -
      • libxaw7-dev (2:1.0.1-0ubuntu3)
      • -
      • libxdmcp-dev (1:1.0.0-0ubuntu2)
      • -
      • libxext-dev (2:1.0.0-0ubuntu4)
      • -
      • libxi-dev (2:1.0.0-0ubuntu3)
      • -
      • libxmu-dev (2:1.0.0-0ubuntu3)
      • -
      • libxmu-headers (2:1.0.0-0ubuntu3)
      • -
      • libxmuu-dev (2:1.0.0-0ubuntu3)
      • -
      • libxp-dev (6.8.2-11ubuntu2)
      • -
      • libxpm-dev (1:3.5.4.2-0ubuntu3)
      • -
      • libxrandr-dev (1:1.1.0.2-0ubuntu4)
      • -
      • libxt-dev (1:1.0.0-0ubuntu3)
      • -
      • libxtrap-dev (2:1.0.0-0ubuntu2)
      • -
      • libxtst-dev (2:1.0.1-0ubuntu2)
      • -
      • libxv-dev (2:1.0.1-0ubuntu3)
      • -
      • linux-kernel-headers (2.6.11.2-0ubuntu18)
      • -
      • m4 (1.4.4-1)
      • -
      • make (3.80+3.81.b4-1)
      • -
      • ssl-cert (1.0.13)
      • -
      • x-dev (7.0.4-0ubuntu2)
      • -
      • x11proto-core-dev (7.0.4-0ubuntu2)
      • -
      • x11proto-input-dev (1.3.2-0ubuntu2)
      • -
      • x11proto-kb-dev (1.0.2-0ubuntu2)
      • -
      • x11proto-randr-dev (1.1.2-0ubuntu2)
      • -
      • x11proto-record-dev (1.13.2-0ubuntu2)
      • -
      • x11proto-trap-dev (3.4.3-0ubuntu2)
      • -
      • x11proto-video-dev (2.2.2-0ubuntu2)
      • -
      • x11proto-xext-dev (7.0.2-0ubuntu2)
      • -
      • xlibs-dev (7.0.0-0ubuntu45)
      • -
      • zlib1g-dev (1:1.2.3-6ubuntu4)
      • -
      -
      - -

      Ubuntu 7.04

      -

      - Using the Synaptic Package Manager, download the following - packages (double indented packages are automatically aquired - due to package dependencies): -

      -
        -
      • build-essential
      • -
          -
        • dpkg-dev
        • -
        • g++
        • -
        • g++-4.1
        • -
        • libc6-dev
        • -
        • libstdc++6.4.1-dev
        • -
        • linux-libc-dev
        • -
        -
      • gawk
      • -
      • m4
      • -
      • libasound2-dev
      • -
      • libcupsys2-dev
      • -
          -
        • libgcrypt11-dev
        • -
        • lgnutls-dev
        • -
        • libgpg-error-dev
        • -
        • liblzo-dev
        • -
        • libopencdk8-dev
        • -
        • libpopt-dev
        • -
        • libtasn1-3-dev
        • -
        • zlib1g-dev
        • -
        -
      • sun-java6-jdk
      • -
          -
        • java-common
        • -
        • libltdl3
        • -
        • odbcinst1debian1
        • -
        • sun-java6-bin
        • -
        • sun-java6-jre
        • -
        • unixodbc
        • -
        -
      • xlibs-dev
      • -
          -
        • (many)
        • -
        -
      • x11proto-print-dev
      • -
      • libxaw7-dev
      • -
          -
        • libxaw-headers
        • -
        -
      • libxp-dev
      • -
      • libfreetype6-dev
      • -
      -
      +
      + After installing Debian 5 + you need to install several build dependencies. + The simplest way to install the build dependencies is to + execute the following commands as user root: +

      + aptitude build-dep openjdk-6 +

      + aptitude install openjdk-6-jdk libmotif-dev +

      + In addition, it's necessary to set a few environment variables for the build: +

      + export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk +

      - + +

      Ubuntu

      +
      +

      Ubuntu 8.04

      +

      +

      + After installing Ubuntu 8.04 + you need to install several build dependencies. +

      + First, you need to enable the universe repository in the + Software Sources application and reload the repository + information. The Software Sources application is available + under the System/Administration menu. +

      + The simplest way to install the build dependencies is to + execute the following commands: +

      + sudo aptitude build-dep openjdk-6 +

      + sudo aptitude install openjdk-6-jdk +

      + In addition, it's necessary to set a few environment variables for the build: +

      + export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk +

      +

      Ubuntu 8.10

      +

      +

      + After installing Ubuntu 8.10 + you need to install several build dependencies. The simplest + way to do it is to execute the following commands: +

      + sudo aptitude build-dep openjdk-6 +

      + sudo aptitude install openjdk-6-jdk +

      + In addition, it's necessary to set a few environment variables for the build: +

      + export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk +

      +

      Ubuntu 9.04

      +

      +

      + After installing Ubuntu 9.04 + you need to install several build dependencies. The simplest + way to do it is to execute the following commands: +

      + sudo aptitude build-dep openjdk-6 +

      + sudo aptitude install openjdk-6-jdk +

      + In addition, it's necessary to set a few environment variables for the build: +

      + export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk +

      +
      + +

      OpenSUSE

      +
      +

      OpenSUSE 11.1

      +

      +

      + After installing OpenSUSE 11.1 + you need to install several build dependencies. + The simplest way to install the build dependencies is to + execute the following commands: +

      + sudo zypper source-install -d java-1_6_0-openjdk +

      + sudo zypper install make +

      + In addition, it is necessary to set a few environment variables for the build: +

      + export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk +

      + Finally, you need to unset the JAVA_HOME environment variable: +

      + export -n JAVA_HOME +

      +
      + +

      Mandriva

      +
      +

      Mandriva Linux One 2009 Spring

      +

      +

      + After installing Mandriva Linux One 2009 Spring + you need to install several build dependencies. + The simplest way to install the build dependencies is to + execute the following commands as user root: +

      + urpmi java-1.6.0-openjdk-devel ant make gcc gcc-c++ freetype-devel zip unzip libcups2-devel libxrender1-devel libalsa2-devel libstc++-static-devel libxtst6-devel libxi-devel +

      + In addition, it is necessary to set a few environment variables for the build: +

      + export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk +

      +
      + +

      OpenSolaris

      +
      +

      OpenSolaris 2009.06

      +

      +

      + After installing OpenSolaris 2009.06 + you need to install several build dependencies. + The simplest way to install the build dependencies is to + execute the following commands: +

      + pfexec pkg install SUNWgmake SUNWj6dev SUNWant sunstudioexpress SUNWcups SUNWzip SUNWunzip SUNWxwhl SUNWxorg-headers SUNWaudh SUNWfreetype2 +

      + In addition, it is necessary to set a few environment variables for the build: +

      + export LANG=C ALT_COMPILER_PATH=/opt/SunStudioExpress/bin/ ALT_CUPS_HEADERS_PATH=/usr/include/ +

      + Finally, you need to make sure that the build process can find the Sun Studio compilers: +

      + export PATH=$PATH:/opt/SunStudioExpress/bin/ +

      +
      +

      Source Directory Structure