[7152faa] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[ddd5542] | 7 |
|
---|
[81fd230] | 8 | <sect1 id="ch-system-zlib" role="wrap">
|
---|
[ddd5542] | 9 | <?dbhtml filename="zlib.html"?>
|
---|
| 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>zlib</productname>
|
---|
| 13 | <productnumber>&zlib-version;</productnumber>
|
---|
| 14 | <address>&zlib-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[ddd5542] | 17 | <title>Zlib-&zlib-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-zlib">
|
---|
| 20 | <primary sortas="a-Zlib">Zlib</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
[24380c7] | 25 |
|
---|
[ddd5542] | 26 | <para>The Zlib package contains compression and decompression routines used by
|
---|
| 27 | some programs.</para>
|
---|
[673b0d8] | 28 |
|
---|
[ddd5542] | 29 | <segmentedlist>
|
---|
| 30 | <segtitle>&buildtime;</segtitle>
|
---|
| 31 | <segtitle>&diskspace;</segtitle>
|
---|
[5888299] | 32 |
|
---|
[ddd5542] | 33 | <seglistitem>
|
---|
[6dfcfecc] | 34 | <seg>&zlib-fin-sbu;</seg>
|
---|
| 35 | <seg>&zlib-fin-du;</seg>
|
---|
[ddd5542] | 36 | </seglistitem>
|
---|
| 37 | </segmentedlist>
|
---|
[673b0d8] | 38 |
|
---|
[ddd5542] | 39 | </sect2>
|
---|
[81fd230] | 40 |
|
---|
[ddd5542] | 41 | <sect2 role="installation">
|
---|
| 42 | <title>Installation of Zlib</title>
|
---|
| 43 |
|
---|
[85d68de] | 44 | <para>Prepare Zlib for compilation:</para>
|
---|
[4a8b9b3] | 45 |
|
---|
[e3f07935] | 46 | <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
---|
[4248b0e] | 47 |
|
---|
[ddd5542] | 48 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 49 |
|
---|
[0445a3d] | 50 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 51 |
|
---|
[0445a3d] | 52 | <para>To test the results, issue:</para>
|
---|
| 53 |
|
---|
| 54 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
[dfddb12] | 55 |
|
---|
[85d68de] | 56 | <para>Install the package:</para>
|
---|
[ea2dfe7] | 57 |
|
---|
| 58 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
| 59 |
|
---|
[c522873] | 60 | <para>Remove a useless static library:</para>
|
---|
[a5c2803] | 61 |
|
---|
| 62 | <screen><userinput remap="install">rm -fv /usr/lib/libz.a</userinput></screen>
|
---|
| 63 |
|
---|
[ddd5542] | 64 | </sect2>
|
---|
[24380c7] | 65 |
|
---|
[6dfcfecc] | 66 | <!-- - - - - - - - - - -->
|
---|
| 67 | <!-- Multilib - 32bit -->
|
---|
| 68 | <!-- - - - - - - - - - -->
|
---|
| 69 |
|
---|
[fd48baa] | 70 | <sect2 arch="ml_32,ml_all" role="installation">
|
---|
[6dfcfecc] | 71 | <title>Installation of Zlib - 32bit</title>
|
---|
[b3f1ebb3] | 72 |
|
---|
| 73 | <para>Clean previous build:</para>
|
---|
| 74 |
|
---|
| 75 | <screen><userinput remap="pre">make distclean</userinput></screen>
|
---|
| 76 |
|
---|
| 77 | <para>Prepare Zlib for compilation:</para>
|
---|
| 78 |
|
---|
[07fd8bf8] | 79 | <screen><userinput remap="configure">CFLAGS+=" -m32" CXXFLAGS+=" -m32" \
|
---|
[b3f1ebb3] | 80 | ./configure --prefix=/usr \
|
---|
[0ebda11] | 81 | --libdir=/usr/lib32</userinput></screen>
|
---|
[b3f1ebb3] | 82 |
|
---|
| 83 | <para>Compile the package:</para>
|
---|
| 84 |
|
---|
| 85 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 86 |
|
---|
| 87 | <para>Install the package:</para>
|
---|
| 88 |
|
---|
| 89 | <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
|
---|
[0ebda11] | 90 | cp -Rv DESTDIR/usr/lib32/* /usr/lib32
|
---|
[b3f1ebb3] | 91 | rm -rf DESTDIR</userinput></screen>
|
---|
| 92 |
|
---|
[6dfcfecc] | 93 | </sect2><!-- m32 -->
|
---|
| 94 |
|
---|
| 95 | <!-- - - - - - - - - - -->
|
---|
| 96 | <!-- Multilib - x32bit -->
|
---|
| 97 | <!-- - - - - - - - - - -->
|
---|
[b3f1ebb3] | 98 |
|
---|
[fd48baa] | 99 | <sect2 arch="ml_x32,ml_all" role="installation">
|
---|
[6dfcfecc] | 100 | <title>Installation of Zlib - x32bit</title>
|
---|
[b3f1ebb3] | 101 |
|
---|
| 102 | <screen><userinput remap="pre">make distclean</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | <para>Prepare Zlib for compilation:</para>
|
---|
| 105 |
|
---|
[07fd8bf8] | 106 | <screen><userinput remap="configure">CFLAGS+=" -mx32" CXXFLAGS+=" -mx32" \
|
---|
[b3f1ebb3] | 107 | ./configure --prefix=/usr \
|
---|
[0ebda11] | 108 | --libdir=/usr/libx32</userinput></screen>
|
---|
[b3f1ebb3] | 109 |
|
---|
| 110 | <para>Compile the package:</para>
|
---|
| 111 |
|
---|
| 112 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 113 |
|
---|
| 114 | <para>Install the package:</para>
|
---|
| 115 |
|
---|
| 116 | <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
|
---|
[0ebda11] | 117 | cp -Rv DESTDIR/usr/libx32/* /usr/libx32
|
---|
[b3f1ebb3] | 118 | rm -rf DESTDIR</userinput></screen>
|
---|
| 119 |
|
---|
[6dfcfecc] | 120 | </sect2><!-- mx32 -->
|
---|
[b3f1ebb3] | 121 |
|
---|
[ddd5542] | 122 | <sect2 id="contents-zlib" role="content">
|
---|
| 123 | <title>Contents of Zlib</title>
|
---|
[5888299] | 124 |
|
---|
[ddd5542] | 125 | <segmentedlist>
|
---|
| 126 | <segtitle>Installed libraries</segtitle>
|
---|
[673b0d8] | 127 |
|
---|
[ddd5542] | 128 | <seglistitem>
|
---|
[a5c2803] | 129 | <seg>libz.so</seg>
|
---|
[ddd5542] | 130 | </seglistitem>
|
---|
| 131 | </segmentedlist>
|
---|
[81fd230] | 132 |
|
---|
[ddd5542] | 133 | <variablelist>
|
---|
| 134 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 135 | <?dbfo list-presentation="list"?>
|
---|
| 136 | <?dbhtml list-presentation="table"?>
|
---|
[81fd230] | 137 |
|
---|
[ddd5542] | 138 | <varlistentry id="libz">
|
---|
| 139 | <term><filename class="libraryfile">libz</filename></term>
|
---|
| 140 | <listitem>
|
---|
| 141 | <para>Contains compression and decompression functions used by
|
---|
| 142 | some programs</para>
|
---|
| 143 | <indexterm zone="ch-system-zlib libz">
|
---|
| 144 | <primary sortas="c-libz">libz</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
[673b0d8] | 148 |
|
---|
[ddd5542] | 149 | </variablelist>
|
---|
[673b0d8] | 150 |
|
---|
[ddd5542] | 151 | </sect2>
|
---|
[81fd230] | 152 |
|
---|
[ddd5542] | 153 | </sect1>
|
---|