source: BOOK/final-system/multilib/bzip2-n32.xml@ 177f815

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 177f815 was 69caf2f, 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.0 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-n32" role="wrap">
9 <?dbhtml filename="bzip2-n32.html"?>
10
11 <title>Bzip2-&bzip2-version; N32 Libraries</title>
12
13 <indexterm zone="ch-system-bzip2-n32">
14 <primary sortas="a-Bzip2">Bzip2</primary>
15 <secondary>N32</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="bzip2.xml"
27 xpointer="xpointer(//*[@os='p3'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="bzip2.xml"
31 xpointer="xpointer(//*[@os='p4'])"/>
32
33 <para os="m1">We need to remove the tests since they won't work on
34 a multi-architecture build, and change the default lib path
35 to <filename class="directory">lib32</filename>:</para>
36
37<screen os="m2"><userinput>sed -i -e 's@^\(all:.*\) test@\1@g' \
38 -e 's@/lib\(/\| \|$\)@/lib32\1@g' Makefile</userinput></screen>
39
40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="bzip2.xml"
42 xpointer="xpointer(//*[@os='a'])"/>
43
44<screen os="b"><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}"
45make clean</userinput></screen>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="bzip2.xml"
49 xpointer="xpointer(//*[@os='c'])"/>
50
51<screen os="d"><userinput>make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}"</userinput></screen>
52
53 <para os="m3">Now we remove the 32 bit versions of the programs so we
54 can install the n32 bit versions.</para>
55
56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="bzip2-64bit.xml"
58 xpointer="xpointer(//*[@os='m4'])"/>
59
60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="bzip2.xml"
62 xpointer="xpointer(//*[@os='e'])"/>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="bzip2.xml"
66 xpointer="xpointer(//*[@os='f'])"/>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="bzip2.xml"
70 xpointer="xpointer(//*[@os='g'])"/>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="bzip2.xml"
74 xpointer="xpointer(//*[@os='h'])"/>
75
76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
77 href="bzip2.xml"
78 xpointer="xpointer(//*[@os='i'])"/>
79
80<screen os="j"><userinput>cp bzip2-shared /bin/bzip2
81cp -a libbz2.so* /lib32
82ln -s ../../lib32/libbz2.so.1.0 /usr/lib32/libbz2.so
83rm /usr/bin/{bunzip2,bzcat,bzip2}
84ln -s bzip2 /bin/bunzip2
85ln -s bzip2 /bin/bzcat</userinput></screen>
86
87 </sect2>
88
89 <sect2 role="content">
90 <title/>
91
92 <para>Details on this package are located in <xref
93 linkend="contents-bzip2" role="."/></para>
94
95 </sect2>
96
97</sect1>
Note: See TracBrowser for help on using the repository browser.