source: BOOK/final-system/multilib/bzip2-64bit.xml@ bcaa438

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since bcaa438 was 263192a, checked in by Jim Gifford <clfs@…>, 19 years ago

r880@server (orig r878): ken | 2005-12-09 17:54:03 -0800
Simplify bzip2 installation on multilib, based on a suggestion by Go Moko, and reword what gets tested

  • Property mode set to 100644
File size: 3.0 KB
RevLine 
[3f8be484]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
[1cd688b]17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../common/bzip2.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]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"
[e0e40d3]26 xpointer="xpointer(//*[@os='p1'])"/>
[3f8be484]27
28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
29 href="../common/bzip2.xml"
[e0e40d3]30 xpointer="xpointer(//*[@os='p2'])"/>
[3f8be484]31
32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[263192a]33 href="../common/bzip2.xml"
[e0e40d3]34 xpointer="xpointer(//*[@os='p3'])"/>
[3f8be484]35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[263192a]37 href="../common/bzip2.xml"
[e0e40d3]38 xpointer="xpointer(//*[@os='p4'])"/>
[3f8be484]39
[e0e40d3]40 <para os="m1">We need to remove the tests since they won't work on
[69caf2f]41 a multi-architecture build, and change the default lib path
[3f8be484]42 to <filename class="directory">lib64</filename>:</para>
43
[e0e40d3]44<screen os="m2"><userinput>sed -i -e 's@^\(all:.*\) test@\1@g' \
[3f8be484]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
[e0e40d3]51<screen os="b"><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}"
[3f8be484]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
[263192a]58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="bzip2-n32.xml"
60 xpointer="xpointer(//*[@os='c1'])"/>
[3f8be484]61
[263192a]62<screen os="e"><userinput>make CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}"</userinput></screen>
[3f8be484]63
[263192a]64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../common/bzip2.xml"
66 xpointer="xpointer(//*[@os='f'])"/>
[e0e40d3]67
[3f8be484]68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[263192a]69 href="../common/bzip2.xml"
[3f8be484]70 xpointer="xpointer(//*[@os='g'])"/>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[263192a]73 href="../common/bzip2.xml"
[3f8be484]74 xpointer="xpointer(//*[@os='h'])"/>
75
[e0e40d3]76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[263192a]77 href="../common/bzip2.xml"
[e0e40d3]78 xpointer="xpointer(//*[@os='i'])"/>
79
80<screen os="j"><userinput>cp bzip2-shared /bin/bzip2
[3f8be484]81cp -a libbz2.so* /lib64
82ln -s ../../lib64/libbz2.so.1.0 /usr/lib64/libbz2.so
83rm /usr/bin/{bunzip2,bzcat,bzip2}
[263192a]84ln -s bzip2 /bin/bunzip2
[3f8be484]85ln -s bzip2 /bin/bzcat</userinput></screen>
86
87 </sect2>
88
89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
90 href="../common/bzip2.xml"
91 xpointer="xpointer(id('contents-bzip2'))"/>
92
93</sect1>
Note: See TracBrowser for help on using the repository browser.