source: final-system/multilib/bzip2-64bit.xml@ 127585f

Last change on this file since 127585f was 193b7dd, checked in by Jim Gifford <clfs@…>, 19 years ago

r782@server (orig r780): jim | 2005-11-30 22:29:02 -0800

r839@server: jim | 2005-11-30 22:27:56 -0800
Fixed typo in bzip2 multilib final-system


  • Property mode set to 100644
File size: 3.1 KB
Line 
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="bzip2.xml"
34 xpointer="xpointer(//*[@os='p3'])"/>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="bzip2.xml"
38 xpointer="xpointer(//*[@os='p4'])"/>
39
40 <para os="m1">We need to remove the tests since they won't work on
41 a multi-architecture build, and change the default lib path
42 to <filename class="directory">lib64</filename>:</para>
43
44<screen os="m2"><userinput>sed -i -e 's@^\(all:.*\) test@\1@g' \
45 -e 's@/lib\(/\| \|$\)@/lib64\1@g' Makefile</userinput></screen>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="bzip2.xml"
49 xpointer="xpointer(//*[@os='a'])"/>
50
51<screen os="b"><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}"
52make clean</userinput></screen>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="bzip2.xml"
56 xpointer="xpointer(//*[@os='c'])"/>
57
58<screen os="d"><userinput>make CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}"</userinput></screen>
59
60 <para os="m3">Now we remove the 32 bit versions of the programs so we
61 can install the 64 bit versions.</para>
62
63<screen os="m4"><userinput>rm -f /usr/bin/bz* /bin/bz*</userinput></screen>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="bzip2.xml"
67 xpointer="xpointer(//*[@os='e'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="bzip2.xml"
71 xpointer="xpointer(//*[@os='f'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="bzip2.xml"
75 xpointer="xpointer(//*[@os='g'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="bzip2.xml"
79 xpointer="xpointer(//*[@os='h'])"/>
80
81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="bzip2.xml"
83 xpointer="xpointer(//*[@os='i'])"/>
84
85<screen os="j"><userinput>cp bzip2-shared /bin/bzip2
86cp -a libbz2.so* /lib64
87ln -s ../../lib64/libbz2.so.1.0 /usr/lib64/libbz2.so
88rm /usr/bin/{bunzip2,bzcat,bzip2}
89ln -s bzip2 /bin/bzcat</userinput></screen>
90
91 </sect2>
92
93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
94 href="../common/bzip2.xml"
95 xpointer="xpointer(id('contents-bzip2'))"/>
96
97</sect1>
Note: See TracBrowser for help on using the repository browser.