mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-21 12:49:21 +01:00
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2513 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
26 lines
726 B
XML
26 lines
726 B
XML
<sect2><title> </title><para> </para></sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of Zlib</title>
|
|
|
|
<para>Prepare Zlib to be compiled:</para>
|
|
|
|
<para><screen><userinput>CFLAGS="-O2 -pipe" \
|
|
./configure --prefix=/stage1 --shared</userinput></screen></para>
|
|
|
|
<para>The <emphasis>-fPIC</emphasis> flag helps to assure
|
|
quality in the dynamic zlib library.</para>
|
|
|
|
<para>Some packages expect a static zlib library to be present
|
|
on the system. To satisfy those programs, compile both the
|
|
shared and static libraries:</para>
|
|
|
|
<para><screen><userinput>make
|
|
make test</userinput></screen></para>
|
|
|
|
<para>Install the libraries:</para>
|
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
|
|
|
</sect2>
|