diff options
Diffstat (limited to 'chapter05/fileutils-inst.xml')
-rw-r--r-- | chapter05/fileutils-inst.xml | 23 |
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 + &&</userinput> + <userinput>./configure --disable-nls \</userinput> + <userinput>--prefix=$LFS/usr --libexecdir=$LFS/bin + --bindir=$LFS/bin &&</userinput> + <userinput>make LDFLAGS=-static &&</userinput> + <userinput>make install &&</userinput> + <userinput>cd $LFS/usr/bin &&</userinput> + <userinput>ln -s ../../bin/install install</userinput> + +</literallayout></blockquote> + +</sect2> + |