diff options
Diffstat (limited to 'chapter05/gzip-inst.xml')
-rw-r--r-- | chapter05/gzip-inst.xml | 22 |
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 &&</userinput> + <userinput>./configure --prefix=$LFS/usr --disable-nls + &&</userinput> + <userinput>make LDFLAGS=-static &&</userinput> + <userinput>make install &&</userinput> + <userinput>cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip + $LFS/bin &&</userinput> + <userinput>rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip</userinput> + +</literallayout></blockquote> + +</sect2> + |