aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gzip-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gzip-inst.xml')
-rw-r--r--chapter05/gzip-inst.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/chapter05/gzip-inst.xml b/chapter05/gzip-inst.xml
new file mode 100644
index 000000000..0b9c58409
--- /dev/null
+++ b/chapter05/gzip-inst.xml
@@ -0,0 +1,22 @@
+<sect2>
+<title>Installation of Gzip</title>
+
+<para>
+Before you install Gzip you have to unpack the gzip patch file.
+</para>
+
+<blockquote><literallayout>
+
+ <userinput>patch -Np1 -i ../gzip-1.2.4a.patch &amp;&amp;</userinput>
+ <userinput>./configure --prefix=$LFS/usr --disable-nls
+ &amp;&amp;</userinput>
+ <userinput>make LDFLAGS=-static &amp;&amp;</userinput>
+ <userinput>make install &amp;&amp;</userinput>
+ <userinput>cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip
+ $LFS/bin &amp;&amp;</userinput>
+ <userinput>rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip</userinput>
+
+</literallayout></blockquote>
+
+</sect2>
+