aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/automake.xml16
-rw-r--r--chapter06/coreutils.xml12
2 files changed, 23 insertions, 5 deletions
diff --git a/chapter06/automake.xml b/chapter06/automake.xml
index edff95cd3..146f5fd76 100644
--- a/chapter06/automake.xml
+++ b/chapter06/automake.xml
@@ -49,18 +49,26 @@
<screen><userinput remap="make">make</userinput></screen>
- <para>There are a couple of tests that incorrectly link to the
+<!--<para>There are a couple of tests that incorrectly link to the
wrong version of the flex library, so we temporarily work around
the problem. Also, using the -j4 make option speeds up the tests, even on
systems with only one processor, due to internal delays in individual
tests. To test the results, issue:</para>
+ -->
-<screen><userinput remap="test">sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &amp;:" t/lex-{clean,depend}-cxx.sh
-make -j4 check</userinput></screen>
+ <para> Using the -j4 make option speeds up the tests, even on systems with
+ only one processor, due to internal delays in individual tests. To test
+ the results, issue:</para>
+ <!--<screen><userinput remap="test">sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &amp;:" t/lex-{clean,depend}-cxx.sh
+ make -j4 check</userinput></screen>-->
+
+<screen><userinput remap="test">make -j4 check</userinput></screen>
+
+<!-- All tests pass now.
<para>Two tests are known to fail in the LFS environment:
check12.sh and check12-w.sh.</para>
-
+-->
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index b03e3e62a..a228fdfc8 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -62,7 +62,8 @@
<para>Now prepare Coreutils for compilation:</para>
-<screen><userinput remap="configure">FORCE_UNSAFE_CONFIGURE=1 ./configure \
+<screen><userinput remap="configure">autoreconf -fiv
+FORCE_UNSAFE_CONFIGURE=1 ./configure \
--prefix=/usr \
--enable-no-install-program=kill,uptime</userinput></screen>
@@ -70,6 +71,15 @@
<title>The meaning of the configure options:</title>
<varlistentry>
+ <term><command>autoreconf</command></term>
+ <listitem>
+ <para>This command updates generated configuration files
+ consistent with the latest version of automake.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><envar>FORCE_UNSAFE_CONFIGURE=1</envar></term>
<listitem>
<para>This environment variable allows the package to be