From f76cde828d0fdc3eeca158debedda78f4075882d Mon Sep 17 00:00:00 2001 From: Ken Moffat Date: Sat, 7 Jan 2006 23:09:01 +0000 Subject: 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 --- chapter06/perl.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'chapter06/perl.xml') 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 Installation of Perl +First create a basic /etc/hosts 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. + +echo "127.0.0.1 localhost $(hostname)" > /etc/hosts + To have full control over the way Perl is set up, run the interactive Configure 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: make -To run the test suite, first create a basic -/etc/hosts file which is needed by a couple of the tests to -resolve the network name localhost: - -echo "127.0.0.1 localhost $(hostname)" > /etc/hosts - Now run the tests, if desired: make test -- cgit v1.2.3-54-g00ecf