[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | <!ENTITY % patches-entities SYSTEM "../../patches.ent">
|
---|
| 6 | %general-entities;
|
---|
| 7 | %patches-entities;
|
---|
| 8 | ]>
|
---|
| 9 |
|
---|
| 10 | <sect1 id="ch-system-zlib-n32" role="wrap">
|
---|
| 11 | <?dbhtml filename="zlib-n32.html"?>
|
---|
| 12 |
|
---|
| 13 | <title>Zlib-&zlib-version; N32 Libraries</title>
|
---|
| 14 |
|
---|
| 15 | <indexterm zone="ch-system-zlib-n32">
|
---|
| 16 | <primary sortas="a-Zlib">Zlib</primary>
|
---|
| 17 | <secondary>N32</secondary>
|
---|
| 18 | </indexterm>
|
---|
| 19 |
|
---|
[566db8e] | 20 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 21 | href="../common/zlib.xml"
|
---|
| 22 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of Zlib</title>
|
---|
| 26 |
|
---|
| 27 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 28 | href="zlib.xml"
|
---|
| 29 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 30 |
|
---|
| 31 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 32 | href="zlib.xml"
|
---|
| 33 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 34 |
|
---|
| 35 | <screen><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
|
---|
| 36 | --shared --libdir=/lib32</userinput></screen>
|
---|
| 37 |
|
---|
| 38 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 39 | href="zlib.xml"
|
---|
| 40 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 41 |
|
---|
| 42 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 43 | href="zlib.xml"
|
---|
| 44 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 45 |
|
---|
| 46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 47 | href="zlib.xml"
|
---|
| 48 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 49 |
|
---|
| 50 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 51 | href="zlib.xml"
|
---|
| 52 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 53 |
|
---|
| 54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 55 | href="zlib.xml"
|
---|
| 56 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 57 |
|
---|
| 58 | <para>The previous command installed a <filename
|
---|
| 59 | class="extension">.so</filename> file in <filename
|
---|
| 60 | class="directory">/lib32</filename>. We will remove it and relink it into
|
---|
| 61 | <filename class="directory">/usr/lib32</filename>:</para>
|
---|
| 62 |
|
---|
| 63 | <screen><userinput>rm /lib32/libz.so
|
---|
| 64 | ln -sf ../../lib32/libz.so.&zlib-version; /usr/lib32/libz.so</userinput></screen>
|
---|
| 65 |
|
---|
| 66 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 67 | href="zlib.xml"
|
---|
| 68 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 69 |
|
---|
| 70 | <screen><userinput>make clean
|
---|
| 71 | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure \
|
---|
| 72 | --prefix=/usr --libdir=/usr/lib32
|
---|
| 73 | make</userinput></screen>
|
---|
| 74 |
|
---|
| 75 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 76 | href="zlib.xml"
|
---|
| 77 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 78 |
|
---|
| 79 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 80 | href="zlib.xml"
|
---|
| 81 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 82 |
|
---|
| 83 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 84 | href="zlib.xml"
|
---|
| 85 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 86 |
|
---|
| 87 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 88 | href="zlib.xml"
|
---|
| 89 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 90 |
|
---|
| 91 | <screen><userinput>chmod 644 /usr/lib32/libz.a</userinput></screen>
|
---|
| 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="content">
|
---|
| 96 | <title/>
|
---|
| 97 |
|
---|
| 98 | <para>Details on this package are located in <xref
|
---|
| 99 | linkend="contents-zlib" role="."/></para>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | </sect1>
|
---|