zlib-inst.xml 726 B

12345678910111213141516171819202122232425
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Zlib</title>
  4. <para>Prepare Zlib to be compiled:</para>
  5. <para><screen><userinput>CFLAGS="-O2 -pipe" \
  6. &nbsp;&nbsp;&nbsp;&nbsp;./configure --prefix=/stage1 --shared</userinput></screen></para>
  7. <para>The <emphasis>-fPIC</emphasis> flag helps to assure
  8. quality in the dynamic zlib library.</para>
  9. <para>Some packages expect a static zlib library to be present
  10. on the system. To satisfy those programs, compile both the
  11. shared and static libraries:</para>
  12. <para><screen><userinput>make
  13. make test</userinput></screen></para>
  14. <para>Install the libraries:</para>
  15. <para><screen><userinput>make install</userinput></screen></para>
  16. </sect2>