1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-system-bzip2-32" role="wrap">
|
---|
9 | <?dbhtml filename="bzip2.html"?>
|
---|
10 |
|
---|
11 | <title>Bzip2-&bzip2-version; 32 Bit Libraries</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-bzip2-32">
|
---|
14 | <primary sortas="a-Bzip2">Bzip2</primary>
|
---|
15 | <secondary>32 Bit</secondary>
|
---|
16 | </indexterm>
|
---|
17 |
|
---|
18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
19 | href="../common/bzip2.xml"
|
---|
20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
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="../common/bzip2.xml"
|
---|
27 | xpointer="xpointer(//*[@os='s1'])"/>
|
---|
28 |
|
---|
29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
30 | href="../common/bzip2.xml"
|
---|
31 | xpointer="xpointer(//*[@os='s2'])"/>
|
---|
32 |
|
---|
33 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
34 | href="../common/bzip2.xml"
|
---|
35 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
36 |
|
---|
37 | <screen os="b"><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}"
|
---|
38 | make clean</userinput></screen>
|
---|
39 |
|
---|
40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
41 | href="../common/bzip2.xml"
|
---|
42 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
43 |
|
---|
44 | <para os="d">Recompile the package using a non-shared library:</para>
|
---|
45 |
|
---|
46 | <screen os="e"><userinput>make CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" libbz2.a</userinput></screen>
|
---|
47 |
|
---|
48 | <para os="e1">To test the results, issue:
|
---|
49 | <userinput>make CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" check</userinput>
|
---|
50 | .</para>
|
---|
51 |
|
---|
52 | <para os="i">Install the libraries and make
|
---|
53 | a necessary symbolic link:</para>
|
---|
54 |
|
---|
55 | <screen os="j"><userinput>cp -v libbz2.a /usr/lib
|
---|
56 | cp -av libbz2.so* /lib
|
---|
57 | ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so</userinput></screen>
|
---|
58 |
|
---|
59 | </sect2>
|
---|
60 |
|
---|
61 | <sect2 role="content">
|
---|
62 | <title/>
|
---|
63 |
|
---|
64 | <para>Details on this package are located in <xref
|
---|
65 | linkend="contents-bzip2" role="."/></para>
|
---|
66 |
|
---|
67 | </sect2>
|
---|
68 |
|
---|
69 | </sect1>
|
---|