r5719 - in trunk/BOOK: . general/prog introduction/welcome stylesheets

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Mon Mar 13 19:45:22 PST 2006


Author: bdubbs
Date: 2006-03-13 20:45:21 -0700 (Mon, 13 Mar 2006)
New Revision: 5719

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/prog/jdk.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/stylesheets/blfs.css
Log:
Rewrote into material and binary install procedures for JDK

Modified: trunk/BOOK/general/prog/jdk.xml
===================================================================
--- trunk/BOOK/general/prog/jdk.xml	2006-03-13 05:44:26 UTC (rev 5718)
+++ trunk/BOOK/general/prog/jdk.xml	2006-03-14 03:45:21 UTC (rev 5719)
@@ -11,7 +11,7 @@
   <!ENTITY jdk-bin-size        "46.7 MB">
   <!ENTITY jdk-src-size        "64.4 MB (three .jar files)">
   <!ENTITY jdk-src-buildsize   "1553 MB">
-  <!ENTITY jdk-time            "29.05 SBU">
+  <!ENTITY jdk-time            "29 SBU">
 ]>
 
 <sect1 id="jdk" xreflabel="JDK-&jdk-src-version;">
@@ -52,40 +52,48 @@
     to the Sun <ulink url="http://www.java.net/jrl.csp">
     Java Research License</ulink> or optionally, the Sun
     <ulink url="http://java.net/jiul.csp">Java Internal Use License</ulink>.
-    In addition, the source code cannot be downloaded from some countries, so
+    In addition, the source code cannot be downloaded to some countries, so
     for users in those countries, the binary is the only option.</para>
 
-    <para>If you plan on compiling the <application>JDK</application> source,
-    you will still need to download the binary version to bootstrap the
-    <application>JDK</application> build.  You will need to download a total
-    of four files to complete the source build:
-    <filename>jdk-&jdk-bin-string;-linux-i586.bin</filename>,
-    <filename>jdk-&jdk-src-string;-fcs-src-b05-jrl-13_oct_2005.jar</filename>
-    (or optionally the JIUL version),
-    <filename>jdk-&jdk-src-string;-fcs-bin-b05-13_oct_2005.jar</filename>, and
-    <filename>jdk-&jdk-src-string;-mozilla_headers-b05-unix-26_aug_2005.jar</filename>.
-    </para>
+    <para>You will first need to download and install the binary version of the 
+    <application>JDK</application>.</para>
+    
+    <para>To build  from the source, you will also need to download the
+    additional files and patches to complete the source build as detailed
+    below.</para>
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
-        <para>Binary download: <ulink url="&jdk-download-binary;"/></para>
+        <para>Binary download: <ulink url="&jdk-download-binary;"/> 
+        (to download jdk-&jdk-bin-string;-linux-i586.bin)</para>
       </listitem>
       <listitem>
-        <para>Version used (binary): &jdk-bin-version;</para>
-      </listitem>
-      <listitem>
         <para>Download MD5 sum (binary): &jdk-bin-md5sum;</para>
       </listitem>
       <listitem>
-        <para>Source download: <ulink url="&jdk-download-source;"/></para>
+        <para>Source download: <ulink url="&jdk-download-source;"/>
+        (to download jdk-&jdk-src-string;-fcs-src-b05-jrl-13_oct_2005.jar (or
+         optionally the JIUL version),
+         jdk-&jdk-src-string;-fcs-bin-b05-13_oct_2005.jar, and
+         jdk-&jdk-src-string;-mozilla_headers-b05-unix-26_aug_2005.jar)</para>
       </listitem>
 
-      <!-- Commented out right now as there is no md5sums file on Anduin
       <listitem>
-        <para>Download MD5 sum (source): <ulink url="&jdk-source-md5sum;"/></para>
+        <para>Download MD5 sums (source): 
+          <simplelist>
+            <member>215c5175e54c2facccc2c7845e339725
+                    jdk-&jdk-src-string;-fcs-bin-b05-13_oct_2005.jar 
+            </member>
+            <member>884dd87faa082d294f725857c895b6f6
+                    jdk-&jdk-src-string;-fcs-src-b05-jrl-13_oct_2005.jar
+            </member>
+            <member>3a3627ab55c6a63cddc90d5b3fad4b83
+                    jdk-&jdk-src-string;-mozilla_headers-b05-unix-26_aug_2005.jar
+            </member>
+          </simplelist>
+        </para>
       </listitem>
-      -->
 
       <listitem>
         <para>Download size (binary): &jdk-bin-size;</para>
@@ -124,6 +132,10 @@
         <para><ulink
         url="&patch-root;/jdk-&jdk-src-version;-remove_fixed_paths-1.patch"/></para>
       </listitem>
+      <listitem>
+        <para><ulink
+        url="&patch-root;/jdk-&jdk-src-version;-xorg-6.8.1-1.patch"/></para>
+      </listitem>
     </itemizedlist>
 
     <bridgehead renderas="sect4">Recommended Patches</bridgehead>
@@ -139,16 +151,6 @@
         (forces dynamic linking to <application>GCC</application> libs)</para></listitem>
     </itemizedlist>
 
-    <bridgehead renderas="sect4">Optional Patch</bridgehead>
-    <itemizedlist spacing='compact'>
-      <listitem>
-        <para><ulink
-        url="&patch-root;/jdk-&jdk-src-version;-xorg-6.8.1-1.patch"/>
-        (only required if building against <xref linkend="xorg"/> or 
-         <xref linkend="xorg7"/>)</para>
-      </listitem>
-    </itemizedlist>
-
     <bridgehead renderas="sect3">JDK Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required (to Build JDK from Source)</bridgehead>
@@ -165,8 +167,8 @@
   <sect2 role="installation">
     <title>Installation of JDK</title>
 
-    <para>Both versions will be installed in parallel. You may choose to keep
-    either or both.</para>
+    <para>Both the binary and source built versions will be installed.  You may
+    choose to keep either or both.</para>
 
     <tip>
       <para>The <command>./jdk-&jdk-bin-string;-linux-i?86.bin</command>
@@ -181,21 +183,28 @@
       installation is discussed.</para>
     </tip>
 
+    <para>Normally in BLFS, the files are unpacked into a subdirectory
+    and the starting point for the installation procedures is that 
+    location.  For this application only, start in the directory where all
+    the downloaded files are located.</para>
+
     <para>Install the precompiled <application>JDK</application> with the
     following commands:</para>
 
-<screen><userinput>sed -i "s:^PATH=.*::" jdk-&jdk-bin-string;-linux-i?86.bin &&
-chmod -v +x jdk-&jdk-bin-string;-linux-i?86.bin &&
-./jdk-&jdk-bin-string;-linux-i?86.bin &&
-cd jdk&jdk-bin-version;</userinput></screen>
+<screen><userinput>cp jdk-&jdk-bin-string;-linux-i?86.bin jdk-mod.bin &&
+sed -i "s:^PATH=.*::" jdk-mod.bin &&
+chmod -v +x jdk-mod.bin &&
+./jdk-mod.bin</userinput></screen>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
-<screen role="root"><userinput>install -v -d /opt/jdk/jdk-precompiled-&jdk-bin-version; &&
+<screen role="root"><userinput>cd jdk&jdk-bin-version; &&
+install -v -d /opt/jdk/jdk-precompiled-&jdk-bin-version; &&
 mv -v * /opt/jdk/jdk-precompiled-&jdk-bin-version; &&
 chown -v -R root:root /opt/jdk/jdk-precompiled-&jdk-bin-version; &&
 ln -v -sf motif21/libmawt.so \
-    /opt/jdk/jdk-precompiled-&jdk-bin-version;/jre/lib/i386/</userinput></screen>
+    /opt/jdk/jdk-precompiled-&jdk-bin-version;/jre/lib/i386/ &&
+cd ..</userinput></screen>
 
     <para>The binary version is now installed.</para>
 

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2006-03-13 05:44:26 UTC (rev 5718)
+++ trunk/BOOK/general.ent	2006-03-14 03:45:21 UTC (rev 5719)
@@ -1,4 +1,4 @@
-<!ENTITY day          "13">                   <!-- Always 2 digits -->
+<!ENTITY day          "14">                   <!-- Always 2 digits -->
 <!ENTITY month        "03">                   <!-- Always 2 digits -->
 <!ENTITY year         "2006">
 <!ENTITY version      "svn-&year;&month;&day;">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2006-03-13 05:44:26 UTC (rev 5718)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2006-03-14 03:45:21 UTC (rev 5719)
@@ -41,6 +41,16 @@
 
 -->
     <listitem>
+      <para>March 14th, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Clarified jdk download instructions and made 
+          minor updates to the install of the binary version.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>March 13th, 2006</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/stylesheets/blfs.css
===================================================================
--- trunk/BOOK/stylesheets/blfs.css	2006-03-13 05:44:26 UTC (rev 5718)
+++ trunk/BOOK/stylesheets/blfs.css	2006-03-14 03:45:21 UTC (rev 5719)
@@ -442,3 +442,7 @@
   font-weight: bold;
   font-style: italic;    
 }
+
+.simplelist {
+  background-color: #f0fff0; 
+}




More information about the blfs-book mailing list