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 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
25 | href="../common/bzip2.xml"
|
---|
26 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
27 |
|
---|
28 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
29 | href="../common/bzip2.xml"
|
---|
30 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
31 |
|
---|
32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
33 | href="../common/bzip2.xml"
|
---|
34 | xpointer="xpointer(//*[@os='p3'])"/>
|
---|
35 |
|
---|
36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
37 | href="../common/bzip2.xml"
|
---|
38 | xpointer="xpointer(//*[@os='p4'])"/>
|
---|
39 |
|
---|
40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
41 | href="../common/bzip2.xml"
|
---|
42 | xpointer="xpointer(//*[@os='p5'])"/>
|
---|
43 |
|
---|
44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
45 | href="../common/bzip2.xml"
|
---|
46 | xpointer="xpointer(//*[@os='p6'])"/>
|
---|
47 |
|
---|
48 | <para os="m1">We need to change the default lib path
|
---|
49 | to <filename class="directory">lib64</filename>:</para>
|
---|
50 |
|
---|
51 | <screen os="m2"><userinput>sed -i 's@/lib\(/\| \|$\)@/lib64\1@g' Makefile</userinput></screen>
|
---|
52 |
|
---|
53 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
54 | href="bzip2.xml"
|
---|
55 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
56 |
|
---|
57 | <screen os="b"><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}"
|
---|
58 | make clean</userinput></screen>
|
---|
59 |
|
---|
60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
61 | href="bzip2.xml"
|
---|
62 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
63 |
|
---|
64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
65 | href="../common/bzip2.xml"
|
---|
66 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
67 |
|
---|
68 | <screen os="e"><userinput>make CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}"</userinput></screen>
|
---|
69 |
|
---|
70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
71 | href="../common/bzip2.xml"
|
---|
72 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
73 |
|
---|
74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
75 | href="../common/bzip2.xml"
|
---|
76 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
77 |
|
---|
78 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
79 | href="../common/bzip2.xml"
|
---|
80 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
81 |
|
---|
82 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
83 | href="../common/bzip2.xml"
|
---|
84 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
85 |
|
---|
86 | <screen os="j"><userinput>cp -v bzip2-shared /bin/bzip2
|
---|
87 | cp -av libbz2.so* /lib64
|
---|
88 | ln -sv ../../lib64/libbz2.so.1.0 /usr/lib64/libbz2.so
|
---|
89 | rm -v /usr/bin/{bunzip2,bzcat,bzip2}
|
---|
90 | ln -sv bzip2 /bin/bunzip2
|
---|
91 | ln -sv bzip2 /bin/bzcat</userinput></screen>
|
---|
92 |
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
96 | href="../common/bzip2.xml"
|
---|
97 | xpointer="xpointer(id('contents-bzip2'))"/>
|
---|
98 |
|
---|
99 | </sect1>
|
---|