source: final-system/multilib/bzip2-64bit.xml@ 71caa77

Last change on this file since 71caa77 was af30804, checked in by Jim Gifford <clfs@…>, 19 years ago

Removed Tempfile Dependency from Bzip2

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