6872735: Further update build readme for new platforms jdk6-b17
authorrobilad
Mon Sep 21 18:30:45 2009 +0200 (4 months ago)
changeset 4269803d5f87e4
parent 4117206aebead8
child 43dc5e85120d74
6872735: Further update build readme for new platforms
Summary: Added build instructions for Fedora 10, 11, OpenSolaris 2009.06, OpenSUSE and Mandriva
Reviewed-by: darcy, ohair
README-builds.html
--- a/README-builds.html Fri Sep 11 10:54:31 2009 -0700
+++ b/README-builds.html Mon Sep 21 18:30:45 2009 +0200
@@ -57,6 +57,9 @@
<li><a href="#fedora">Fedora</a></li>
<li><a href="#debian">Debian</a></li>
<li><a href="#ubuntu">Ubuntu</a></li>
+ <li><a href="#opensuse">OpenSUSE</a></li>
+ <li><a href="#mandriva">Mandriva</a></li>
+ <li><a href="#opensolaris">OpenSolaris</a></li>
</ul>
</li>
<li><a href="#directories">Source Directory Structure</a> </li>
@@ -72,7 +75,8 @@
<li><a href="#binaryplugs">Binary Plugs</a> </li>
<li><a href="#importjdk">Optional Import JDK</a> </li>
<li><a href="#ant">Ant</a> </li>
- <li><a href="#cacerts">Certificate Authority File (cacert)</a> </li> <li><a href="#compilers">Compilers</a>
+ <li><a href="#cacerts">Certificate Authority File (cacert)</a> </li>
+ <li><a href="#compilers">Compilers</a>
<ul>
<li><a href="#msvc">Microsoft Visual Studio</a> </li>
<li><a href="#mssdk">Microsoft Platform SDK</a> </li>
@@ -218,7 +222,7 @@
We won't be listing all the possible environments, but
we will try to provide what information we have available to us.
</blockquote>
- <!-- ------------------------------------------------------ -->
+ <!-- ====================================================== -->
<h3><a name="fedora">Fedora</a></h3>
<blockquote>
<h4>Fedora 9</h4>
@@ -236,10 +240,44 @@
In addition, it's necessary to set a few environment variables for the build:
<p/>
- <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk</code>
+ <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
+ </blockquote>
+ <h4>Fedora 10</h4>
+ <p>
+ <blockquote>
+ After installing <a href="http://fedoraproject.org">Fedora</a> 10
+ you need to install several build dependencies. The simplest
+ way to do it is to execute the following commands as user
+ <tt>root</tt>:
+ <p/>
+ <code>yum-builddep java-1.6.0-openjdk</code>
+ <p/>
+ <code>yum install gcc gcc-c++</code>
+ <p/>
+ In addition, it's necessary to set a few environment variables for the build:
+
+ <p/>
+ <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
+ </blockquote>
+ <h4>Fedora 11</h4>
+ <p>
+ <blockquote>
+ After installing <a href="http://fedoraproject.org">Fedora</a> 11
+ you need to install several build dependencies. The simplest
+ way to do it is to execute the following commands as user
+ <tt>root</tt>:
+ <p/>
+ <code>yum-builddep java-1.6.0-openjdk</code>
+ <p/>
+ <code>yum install gcc gcc-c++</code>
+ <p/>
+ In addition, it's necessary to set a few environment variables for the build:
+
+ <p/>
+ <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
</blockquote>
</blockquote>
- <!-- ------------------------------------------------------ -->
+ <!-- ====================================================== -->
<h3><a name="debian">Debian</a></h3>
<blockquote>
<h4>Debian 5.0 (Lenny)</h4>
@@ -252,17 +290,19 @@
<p/>
<code>aptitude build-dep openjdk-6</code>
<p/>
- <code>aptitude install openjdk-6-jdk libmotif-dev</code>
+ <code>aptitude install openjdk-6-jdk</code>
+ <p/>
+ <!-- OpenJDK 6 Specific -->
+ <code style="background-color:white">aptitude install libmotif-dev</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
</blockquote>
</blockquote>
- <!-- ------------------------------------------------------ -->
+ <!-- ====================================================== -->
<h3><a name="ubuntu">Ubuntu</a></h3>
<blockquote>
- <!-- ------------------------------------------------------ -->
<h4>Ubuntu 8.04</h4>
<p>
<blockquote>
@@ -279,13 +319,15 @@
<p/>
<code>sudo aptitude build-dep openjdk-6</code>
<p/>
- <code>sudo aptitude install openjdk-6-jdk libmotif-dev</code>
+ <code>sudo aptitude install openjdk-6-jdk</code>
+ <p/>
+ <!-- OpenJDK 6 Specific -->
+ <code style="background-color:white">sudo aptitude install libmotif-dev</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
</blockquote>
- <!-- ------------------------------------------------------ -->
<h4>Ubuntu 8.10</h4>
<p>
<blockquote>
@@ -295,7 +337,10 @@
<p/>
<code>sudo aptitude build-dep openjdk-6</code>
<p/>
- <code>sudo aptitude install openjdk-6-jdk libmotif-dev gcc-4.2 g++-4.2</code>
+ <code>sudo aptitude install openjdk-6-jdk gcc-4.2 g++-4.2</code>
+ <p/>
+ <!-- OpenJDK 6 Specific -->
+ <code style="background-color:white">sudo aptitude install libmotif-dev</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
@@ -307,7 +352,6 @@
<p/>
<code>make all CC=gcc-4.2 CPP=g++-4.2</code>
</blockquote>
- <!-- ------------------------------------------------------ -->
<h4>Ubuntu 9.04</h4>
<p>
<blockquote>
@@ -317,10 +361,13 @@
<p/>
<code>sudo aptitude build-dep openjdk-6</code>
<p/>
- <code>sudo aptitude install openjdk-6-jdk libmotif-dev gcc-4.2 g++-4.2</code>
+ <code>sudo aptitude install openjdk-6-jdk gcc-4.2 g++-4.2</code>
+ <p/>
+ <!-- OpenJDK 6 Specific -->
+ <code style="background-color:white">sudo aptitude install libmotif-dev</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
- </p>
+ <p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
<p/>
Then, calling <tt>make</tt> in the top level OpenJDK source
@@ -329,6 +376,76 @@
<p/>
<code>make all CC=gcc-4.2 CPP=g++-4.2</code>
</blockquote>
+ </blockquote>
+ <!-- ====================================================== -->
+ <h3><a name="opensuse">OpenSUSE</a></h3>
+ <blockquote>
+ <h4>OpenSUSE 11.1</h4>
+ <p>
+ <blockquote>
+ After installing <a href="http://opensuse.org">OpenSUSE</a> 11.1
+ you need to install several build dependencies.
+ The simplest way to install the build dependencies is to
+ execute the following commands:
+ <p/>
+ <code>sudo zypper source-install -d java-1_6_0-openjdk</code>
+ <p/>
+ <code>sudo zypper install make</code>
+ <p/>
+ In addition, it is necessary to set a few environment variables for the build:
+ <p/>
+ <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk</code>
+ <p/>
+ Finally, you need to unset the <code>JAVA_HOME</code> environment variable:
+ <p/>
+ <code>export -n JAVA_HOME</code>
+ </blockquote>
+ </blockquote>
+ <!-- ====================================================== -->
+ <h3><a name="mandriva">Mandriva</a></h3>
+ <blockquote>
+ <h4>Mandriva Linux One 2009 Spring</h4>
+ <p>
+ <blockquote>
+ After installing <a href="http://mandriva.org">Mandriva</a> 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 <tt>root</tt>:
+ <p/>
+ <code>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</code>
+ <p/>
+ <!-- OpenJDK 6 Specific -->
+ <code style="background-color:white">urpmi libopenmotif-devel</code>
+ <p/>
+ In addition, it is necessary to set a few environment variables for the build:
+ <p/>
+ <code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk</code>
+ </blockquote>
+ </blockquote>
+ <!-- ====================================================== -->
+ <h3><a name="opensolaris">OpenSolaris</a></h3>
+ <blockquote>
+ <h4>OpenSolaris 2009.06</h4>
+ <p>
+ <blockquote>
+ After installing <a href="http://opensolaris.org">OpenSolaris</a> 2009.06
+ you need to install several build dependencies.
+ The simplest way to install the build dependencies is to
+ execute the following commands:
+ <p/>
+ <code>pfexec pkg install SUNWgmake SUNWj6dev SUNWant sunstudioexpress SUNWcups SUNWzip SUNWunzip SUNWxwhl SUNWxorg-headers SUNWaudh SUNWfreetype2</code>
+ <p/>
+ <!-- OpenJDK 6 Specific -->
+ <code style="background-color:white">pfexec pkg install SUNWmfrun</code>
+ <p/>
+ In addition, it is necessary to set a few environment variables for the build:
+ <p/>
+ <code>export LANG=C ALT_COMPILER_PATH=/opt/SunStudioExpress/bin/ ALT_CUPS_HEADERS_PATH=/usr/include/</code>
+ <p/>
+ Finally, you need to make sure that the build process can find the Sun Studio compilers:
+ <p/>
+ <code>export PATH=$PATH:/opt/SunStudioExpress/bin/</code>
+ </blockquote>
</blockquote>
<!-- ------------------------------------------------------ -->
<hr>