[bf8c11f] | 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 |
|
---|
[a67c762] | 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 19 | href="../common/bzip2.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[bf8c11f] | 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of Bzip2</title>
|
---|
| 24 |
|
---|
| 25 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 26 | href="bzip2.xml"
|
---|
| 27 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 28 |
|
---|
| 29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 30 | href="bzip2.xml"
|
---|
| 31 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 32 |
|
---|
| 33 | <para>We need to remove the tests since they won't work on
|
---|
| 34 | a multi-architecture build, and tell change the default lib path
|
---|
| 35 | to <filename class="directory">lib32</filename>:</para>
|
---|
| 36 |
|
---|
| 37 | <screen><userinput>sed -i -e 's@^\(all:.*\) test@\1@g' \
|
---|
| 38 | -e 's@/lib\(/\| \|$\)@/lib32\1@g' Makefile</userinput></screen>
|
---|
| 39 |
|
---|
| 40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 41 | href="bzip2.xml"
|
---|
| 42 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 43 |
|
---|
| 44 | <screen><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}"
|
---|
| 45 | make clean</userinput></screen>
|
---|
| 46 |
|
---|
| 47 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 48 | href="bzip2.xml"
|
---|
| 49 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 50 |
|
---|
| 51 | <screen><userinput>make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}"</userinput></screen>
|
---|
| 52 |
|
---|
| 53 | <para>Now we remove the 32 bit versions of the programs so we
|
---|
| 54 | can install the n32 bit versions.</para>
|
---|
| 55 |
|
---|
| 56 | <screen><userinput>rm -f /usr/bin/bz* /bin/bz*</userinput></screen>
|
---|
| 57 |
|
---|
| 58 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 59 | href="bzip2.xml"
|
---|
| 60 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 61 |
|
---|
| 62 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 63 | href="bzip2.xml"
|
---|
| 64 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 65 |
|
---|
| 66 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 67 | href="bzip2.xml"
|
---|
| 68 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 69 |
|
---|
| 70 | <screen><userinput>cp bzip2-shared /bin/bzip2
|
---|
| 71 | cp -a libbz2.so* /lib32
|
---|
| 72 | ln -s ../../lib32/libbz2.so.1.0 /usr/lib32/libbz2.so
|
---|
| 73 | rm /usr/bin/{bunzip2,bzcat,bzip2}
|
---|
| 74 | ln -s bzip2 /bin/bunzip2
|
---|
| 75 | ln -s bzip2 /bin/bzcat</userinput></screen>
|
---|
| 76 |
|
---|
| 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="content">
|
---|
| 80 | <title/>
|
---|
| 81 |
|
---|
| 82 | <para>Details on this package are located in <xref
|
---|
| 83 | linkend="contents-bzip2" role="."/></para>
|
---|
| 84 |
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | </sect1>
|
---|