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" role="wrap">
|
---|
9 | <?dbhtml filename="bzip2-64bit.html"?>
|
---|
10 |
|
---|
11 | <title>Bzip2-&bzip2-version; 64 Bit</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-bzip2">
|
---|
14 | <primary sortas="a-Bzip2">Bzip2</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
18 | href="../common/bzip2.xml"
|
---|
19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
20 |
|
---|
21 | <sect2 role="installation">
|
---|
22 | <title>Installation of Bzip2</title>
|
---|
23 |
|
---|
24 | <para os="m1">We need to change the default lib path
|
---|
25 | to <filename class="directory">lib64</filename>:</para>
|
---|
26 |
|
---|
27 | <screen os="m2"><userinput>sed -i 's@/lib\(/\| \|$\)@/lib64\1@g' Makefile</userinput></screen>
|
---|
28 |
|
---|
29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
30 | href="bzip2.xml"
|
---|
31 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
32 |
|
---|
33 | <screen os="b"><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}"
|
---|
34 | make clean</userinput></screen>
|
---|
35 |
|
---|
36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
37 | href="bzip2.xml"
|
---|
38 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
39 |
|
---|
40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
41 | href="../common/bzip2.xml"
|
---|
42 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
43 |
|
---|
44 | <screen os="e"><userinput>make CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}"</userinput></screen>
|
---|
45 |
|
---|
46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
47 | href="../common/bzip2.xml"
|
---|
48 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
49 |
|
---|
50 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
51 | href="../common/bzip2.xml"
|
---|
52 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
53 |
|
---|
54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
55 | href="../common/bzip2.xml"
|
---|
56 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
57 |
|
---|
58 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
59 | href="../common/bzip2.xml"
|
---|
60 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
61 |
|
---|
62 | <screen os="j"><userinput>cp -v bzip2-shared /bin/bzip2
|
---|
63 | cp -av libbz2.so* /lib64
|
---|
64 | ln -sv ../../lib64/libbz2.so.1.0 /usr/lib64/libbz2.so
|
---|
65 | rm -v /usr/bin/{bunzip2,bzcat,bzip2}
|
---|
66 | ln -sv bzip2 /bin/bunzip2
|
---|
67 | ln -sv bzip2 /bin/bzcat</userinput></screen>
|
---|
68 |
|
---|
69 | </sect2>
|
---|
70 |
|
---|
71 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
72 | href="../common/bzip2.xml"
|
---|
73 | xpointer="xpointer(id('contents-bzip2'))"/>
|
---|
74 |
|
---|
75 | </sect1>
|
---|