diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 04c556ca5..2bb969340 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -124,6 +124,11 @@ First a summary, then a detailed log. +January 7, 2006 [ken]: Alter the Perl instructions to +always create an /etc/hosts file. This fixes a potential difference in +the 'hostcat' recorded in Config_heavy.pl. Thanks to Bryan Kadzban for +explaining this. + January 7, 2006 [ken]: Move grep ahead of libtool, so that the latter will correctly reference /bin/grep in references to EGREP. 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 diff --git a/chapter07/hosts.xml b/chapter07/hosts.xml index 6e6549913..8680d011e 100644 --- a/chapter07/hosts.xml +++ b/chapter07/hosts.xml @@ -8,7 +8,7 @@ - Creating the /etc/hosts File + Customizing the /etc/hosts File /etc/hosts