lfs/chapter05/gzip-static-inst.sgml
Gerard Beekmans 6370fa6cff Initial commit - LFS 2.4.4 files
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@14 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-01-24 00:31:17 +00:00

23 lines
606 B
Plaintext

<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>