aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorKen Moffat <ken@linuxfromscratch.org>2006-01-07 23:09:01 +0000
committerKen Moffat <ken@linuxfromscratch.org>2006-01-07 23:09:01 +0000
commitf76cde828d0fdc3eeca158debedda78f4075882d (patch)
tree9c20a6e463f9c09d8d4229bbf597a33218a9b9ba /chapter06
parent9a404f49c5596e2473f5e0f6e8e78658a09decbe (diff)
Move creation of /etc/hosts in Perl, to remove another ICA difference.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7258 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/perl.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/chapter06/perl.xml b/chapter06/perl.xml
index 6d1ea285a..5bbd8ff88 100644
--- a/chapter06/perl.xml
+++ b/chapter06/perl.xml
@@ -28,6 +28,12 @@ Gawk, GCC, Glibc, Grep, Make, and Sed</seg></seglistitem>
<sect2 role="installation">
<title>Installation of Perl</title>
+<para>First 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><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
+
<para>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,
@@ -50,12 +56,6 @@ prepare Perl for compilation with:</para>
<screen><userinput>make</userinput></screen>
-<para>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><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
-
<para>Now run the tests, if desired:</para>
<screen><userinput>make test</userinput></screen>