aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/fileutils-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/fileutils-inst.xml')
-rw-r--r--chapter05/fileutils-inst.xml9
1 files changed, 4 insertions, 5 deletions
diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml
index 6d630b2c7..29121fec8 100644
--- a/chapter05/fileutils-inst.xml
+++ b/chapter05/fileutils-inst.xml
@@ -23,17 +23,16 @@ than likely result in all kinds of compile time problems.</para>
<para><screen><userinput>cp lib/Makefile.in lib/Makefile.in.backup &amp;&amp;
sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \
-&nbsp;&nbsp;&nbsp;-e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \
-&nbsp;&nbsp;&nbsp;lib/Makefile.in.backup &gt; lib/Makefile.in</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;-e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \
+&nbsp;&nbsp;&nbsp;&nbsp;lib/Makefile.in.backup &gt; lib/Makefile.in</userinput></screen></para>
<para>Install Fileutils by running the following commands:</para>
<para><screen><userinput>./configure --disable-nls \
-&nbsp;&nbsp;&nbsp;--prefix=$LFS/usr --bindir=$LFS/bin &amp;&amp;
+&nbsp;&nbsp;&nbsp;&nbsp;--prefix=$LFS/usr --bindir=$LFS/bin &amp;&amp;
make LDFLAGS=-static &amp;&amp;
make install &amp;&amp;
-cd $LFS/usr/bin &amp;&amp;
-ln -sf ../../bin/install</userinput></screen></para>
+ln -sf ../../bin/install $LFS/usr/bin</userinput></screen></para>
<para>Once you have installed Fileutils, you can test whether the
segmentation fault problem has been avoided by running