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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since d50634a was 8000b26, checked in by William Harrington <kb0iic@…>, 11 years ago

Add missing sed commands to multilib books, which are in the 32bit and pure64 books, regarding the installation of the man pages and prefix.

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