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

clfs-3.0.0-systemd systemd
Last change on this file since c9f6a00 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.7 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" 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
[dabbced]17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1cd688b]18 href="../common/bzip2.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]20
21 <sect2 role="installation">
22 <title>Installation of Bzip2</title>
23
[dabbced]24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[946b71d]25 href="bzip2.xml"
26 xpointer="xpointer(//*[@os='s1'])"/>
27
[dabbced]28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[946b71d]29 href="bzip2.xml"
30 xpointer="xpointer(//*[@os='s2'])"/>
31
[8000b26]32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
33 href="../common/bzip2.xml"
34 xpointer="xpointer(//*[@os='s3'])"/>
35
36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
37 href="../common/bzip2.xml"
38 xpointer="xpointer(//*[@os='s4'])"/>
39
[3b4eb18]40 <para os="m1">We need to change the default lib path
[3f8be484]41 to <filename class="directory">lib64</filename>:</para>
42
[3b4eb18]43<screen os="m2"><userinput>sed -i 's@/lib\(/\| \|$\)@/lib64\1@g' Makefile</userinput></screen>
[3f8be484]44
[dabbced]45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]46 href="bzip2.xml"
47 xpointer="xpointer(//*[@os='a'])"/>
48
[e0e40d3]49<screen os="b"><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}"
[3f8be484]50make clean</userinput></screen>
51
[dabbced]52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]53 href="bzip2.xml"
54 xpointer="xpointer(//*[@os='c'])"/>
55
[dabbced]56 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[0acd455]57 href="../common/bzip2.xml"
58 xpointer="xpointer(//*[@os='d'])"/>
[3f8be484]59
[263192a]60<screen os="e"><userinput>make CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}"</userinput></screen>
[3f8be484]61
[dabbced]62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[263192a]63 href="../common/bzip2.xml"
[3f8be484]64 xpointer="xpointer(//*[@os='g'])"/>
65
[7f4caf0]66<screen os="h"><userinput>make CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PREFIX=/usr install</userinput></screen>
[3f8be484]67
[dabbced]68 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[263192a]69 href="../common/bzip2.xml"
[e0e40d3]70 xpointer="xpointer(//*[@os='i'])"/>
71
[94e6142]72<screen os="j"><userinput>cp -v bzip2-shared /bin/bzip2
73cp -av libbz2.so* /lib64
74ln -sv ../../lib64/libbz2.so.1.0 /usr/lib64/libbz2.so
75rm -v /usr/bin/{bunzip2,bzcat,bzip2}
76ln -sv bzip2 /bin/bunzip2
77ln -sv bzip2 /bin/bzcat</userinput></screen>
[3f8be484]78
79 </sect2>
80
[dabbced]81 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]82 href="../common/bzip2.xml"
83 xpointer="xpointer(id('contents-bzip2'))"/>
84
85</sect1>
Note: See TracBrowser for help on using the repository browser.