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.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml
new file mode 100644
index 000000000..6a8be0d35
--- /dev/null
+++ b/chapter05/fileutils-inst.xml
@@ -0,0 +1,23 @@
+<sect2>
+<title>Installation of Fileutils</title>
+
+<para>
+Install Fileutils by running the following commands:
+</para>
+
+<blockquote><literallayout>
+
+ <userinput>patch -Np1 -i ../fileutils-4.0.patch
+ &amp;&amp;</userinput>
+ <userinput>./configure --disable-nls \</userinput>
+ <userinput>--prefix=$LFS/usr --libexecdir=$LFS/bin
+ --bindir=$LFS/bin &amp;&amp;</userinput>
+ <userinput>make LDFLAGS=-static &amp;&amp;</userinput>
+ <userinput>make install &amp;&amp;</userinput>
+ <userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
+ <userinput>ln -s ../../bin/install install</userinput>
+
+</literallayout></blockquote>
+
+</sect2>
+