[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 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-bzip2-n32" role="wrap">
|
---|
| 9 | <?dbhtml filename="bzip2-n32.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Bzip2-&bzip2-version; N32 Libraries</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-bzip2-n32">
|
---|
| 14 | <primary sortas="a-Bzip2">Bzip2</primary>
|
---|
| 15 | <secondary>N32</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
[1cd688b] | 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 19 | href="../common/bzip2.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of Bzip2</title>
|
---|
| 24 |
|
---|
[e0e40d3] | 25 | <para os="m1">We need to remove the tests since they won't work on
|
---|
[69caf2f] | 26 | a multi-architecture build, and change the default lib path
|
---|
[3f8be484] | 27 | to <filename class="directory">lib32</filename>:</para>
|
---|
| 28 |
|
---|
[e0e40d3] | 29 | <screen os="m2"><userinput>sed -i -e 's@^\(all:.*\) test@\1@g' \
|
---|
[3f8be484] | 30 | -e 's@/lib\(/\| \|$\)@/lib32\1@g' Makefile</userinput></screen>
|
---|
| 31 |
|
---|
| 32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 33 | href="bzip2.xml"
|
---|
| 34 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 35 |
|
---|
[e0e40d3] | 36 | <screen os="b"><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}"
|
---|
[3f8be484] | 37 | make clean</userinput></screen>
|
---|
| 38 |
|
---|
| 39 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 40 | href="bzip2.xml"
|
---|
| 41 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 42 |
|
---|
[263192a] | 43 | <para os="c1">Recompile the package using a non-shared library.</para>
|
---|
[3f8be484] | 44 |
|
---|
[1dd3ee2] | 45 | <screen os="d"><userinput>make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" libbz2.a</userinput></screen>
|
---|
[3f8be484] | 46 |
|
---|
[e0e40d3] | 47 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 48 | href="bzip2.xml"
|
---|
| 49 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
| 50 |
|
---|
[94e6142] | 51 | <screen os="j"><userinput>cp -v libbz2.a /usr/lib32
|
---|
| 52 | cp -av libbz2.so* /lib32
|
---|
| 53 | ln -sv ../../lib32/libbz2.so.1.0 /usr/lib32/libbz2.so</userinput></screen>
|
---|
[3f8be484] | 54 |
|
---|
| 55 | </sect2>
|
---|
| 56 |
|
---|
| 57 | <sect2 role="content">
|
---|
| 58 | <title/>
|
---|
| 59 |
|
---|
| 60 | <para>Details on this package are located in <xref
|
---|
| 61 | linkend="contents-bzip2" role="."/></para>
|
---|
| 62 |
|
---|
| 63 | </sect2>
|
---|
| 64 |
|
---|
| 65 | </sect1>
|
---|