source: BOOK/final-system/multilib/bzip2-n32.xml@ 1ded6e3

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1ded6e3 was dabbced, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Change the XInclude schema path from 2003 to 2001. 2003 is depreciated
according to w3.org and 2001 should be used instead.

  • Property mode set to 100644
File size: 2.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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/2001/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/2001/XInclude"
26 href="bzip2.xml"
27 xpointer="xpointer(//*[@os='s1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
30 href="bzip2.xml"
31 xpointer="xpointer(//*[@os='s2'])"/>
32
33 <para os="m1">We need to change the default lib path
34 to <filename class="directory">lib32</filename>:</para>
35
36<screen os="m2"><userinput>sed -i 's@/lib\(/\| \|$\)@/lib32\1@g' Makefile</userinput></screen>
37
38 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
39 href="bzip2.xml"
40 xpointer="xpointer(//*[@os='a'])"/>
41
42<screen os="b"><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}"
43make clean</userinput></screen>
44
45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
46 href="bzip2.xml"
47 xpointer="xpointer(//*[@os='c'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
50 href="bzip2.xml"
51 xpointer="xpointer(//*[@os='d'])"/>
52
53<screen os="e"><userinput>make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" libbz2.a</userinput></screen>
54
55 <para os="e1">To test the results, issue:
56 <userinput>make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" check</userinput>
57 .</para>
58
59 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
60 href="bzip2.xml"
61 xpointer="xpointer(//*[@os='i'])"/>
62
63<screen os="j"><userinput>cp -v libbz2.a /usr/lib32
64cp -av libbz2.so* /lib32
65ln -sv ../../lib32/libbz2.so.1.0 /usr/lib32/libbz2.so</userinput></screen>
66
67 </sect2>
68
69 <sect2 role="content">
70 <title/>
71
72 <para>Details on this package are located in <xref
73 linkend="contents-bzip2" role="."/></para>
74
75 </sect2>
76
77</sect1>
Note: See TracBrowser for help on using the repository browser.