r1068 - in trunk/BOOK: final-system/common final-system/multilib introduction/common

ken at linuxfromscratch.org ken at linuxfromscratch.org
Fri Jan 13 06:15:19 PST 2006


Author: ken
Date: 2006-01-13 07:15:18 -0700 (Fri, 13 Jan 2006)
New Revision: 1068

Modified:
   trunk/BOOK/final-system/common/perl.xml
   trunk/BOOK/final-system/multilib/perl-64bit.xml
   trunk/BOOK/introduction/common/changelog.xml
Log:
Move creation of /etc/hosts within Perl instructions, last of my current batch of fixes from LFS.

Modified: trunk/BOOK/final-system/common/perl.xml
===================================================================
--- trunk/BOOK/final-system/common/perl.xml	2006-01-13 13:19:13 UTC (rev 1067)
+++ trunk/BOOK/final-system/common/perl.xml	2006-01-13 14:15:18 UTC (rev 1068)
@@ -34,6 +34,13 @@
   <sect2 role="installation">
     <title>Installation of Perl</title>
 
+    <para os="a00">Before starting to configure, create a basic
+    <filename>/etc/hosts</filename> file which will be referenced in one
+    of Perl's configuration files as well as being used used by the testsuite
+    if you run that.</para>
+
+<screen os="a01"><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen>
+
     <para os="a">To have full control over the way Perl is set up, run the
     interactive <command>Configure</command> script and hand-pick the way
     this package is built. If the defaults it auto-detects are suitable,
@@ -57,12 +64,6 @@
 
 <screen os="e"><userinput>make</userinput></screen>
 
-    <para os="f">To run the test suite, first create a basic
-    <filename>/etc/hosts</filename> file which is needed by a couple of
-    the tests to resolve the network name localhost:</para>
-
-<screen os="g"><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen>
-
     <para os="h">Now run the tests, if desired:</para>
 
 <screen os="i"><userinput>make test</userinput></screen>

Modified: trunk/BOOK/final-system/multilib/perl-64bit.xml
===================================================================
--- trunk/BOOK/final-system/multilib/perl-64bit.xml	2006-01-13 13:19:13 UTC (rev 1067)
+++ trunk/BOOK/final-system/multilib/perl-64bit.xml	2006-01-13 14:15:18 UTC (rev 1068)
@@ -48,6 +48,14 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/perl.xml"
+    xpointer="xpointer(//*[@os='a00'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/perl.xml"
+    xpointer="xpointer(//*[@os='a01'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/perl.xml"
     xpointer="xpointer(//*[@os='a'])"/>
 
 <screen os="b"><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR" \
@@ -80,14 +88,6 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/perl.xml"
-    xpointer="xpointer(//*[@os='f'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/perl.xml"
-    xpointer="xpointer(//*[@os='g'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/perl.xml"
     xpointer="xpointer(//*[@os='h'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"

Modified: trunk/BOOK/introduction/common/changelog.xml
===================================================================
--- trunk/BOOK/introduction/common/changelog.xml	2006-01-13 13:19:13 UTC (rev 1067)
+++ trunk/BOOK/introduction/common/changelog.xml	2006-01-13 14:15:18 UTC (rev 1068)
@@ -49,6 +49,10 @@
         <listitem>
 	  <para>[ken] - Alter gccbug to use mktemp, from LFS.</para> 
 	</listitem>
+        <listitem>
+	  <para>[ken] - Move creation of /etc/hosts within Perl instructions,
+	  for repeatability, from LFS.</para> 
+	</listitem>
       </itemizedlist>
     </listitem>
 	




More information about the cross-lfs mailing list