source: BOOK/final-system/multilib/readline-n32.xml@ 97ca03f

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 97ca03f was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 3.2 KB
RevLine 
[3f8be484]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 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-readline-n32" role="wrap">
11 <?dbhtml filename="readline-n32.html"?>
12
13 <title>Readline-&readline-version; N32 Libraries</title>
14
15 <indexterm zone="ch-system-readline-n32">
16 <primary sortas="a-Readline">Readline</primary>
17 <secondary>N32</secondary>
18 </indexterm>
19
20 <sect2 role="package">
21 <title/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../common/readline.xml"
25 xpointer="xpointer(//*[@role='package']/para[1])"/>
26
27 <segmentedlist>
28 <segtitle>&buildtime;</segtitle>
29 <segtitle>&diskspace;</segtitle>
30
31 <seglistitem>
32 <seg>Not checked yet</seg>
33 <seg>Not checked yet</seg>
34 </seglistitem>
35 </segmentedlist>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../common/readline.xml"
39 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Readline</title>
45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="readline.xml"
48 xpointer="xpointer(//*[@os='a'])"/>
49
50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51 href="readline.xml"
52 xpointer="xpointer(//*[@os='b'])"/>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="readline.xml"
56 xpointer="xpointer(//*[@os='c'])"/>
57
58<screen><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
59 ./configure --prefix=/usr --libdir=/lib32</userinput></screen>
60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="readline.xml"
63 xpointer="xpointer(//*[@os='d'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="readline.xml"
67 xpointer="xpointer(//*[@os='e'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="readline.xml"
71 xpointer="xpointer(//*[@os='g'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="readline.xml"
75 xpointer="xpointer(//*[@os='h'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="readline.xml"
79 xpointer="xpointer(//*[@os='i'])"/>
80
81<screen><userinput>chmod 755 /lib32/lib{readline,history}.so*</userinput></screen>
82
83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
84 href="readline.xml"
85 xpointer="xpointer(//*[@os='k'])"/>
86
87<screen><userinput>mv /lib32/lib{readline,history}.a /usr/lib32</userinput></screen>
88
89 <para>Next, remove the <filename class="extension">.so</filename>
90 files in <filename class="directory">/lib32</filename> and relink them into
91 <filename class="directory">/usr/lib32</filename>.</para>
92
93<screen><userinput>rm /lib32/lib{readline,history}.so
94ln -sf ../../lib32/libreadline.so.5 /usr/lib32/libreadline.so
95ln -sf ../../lib32/libhistory.so.5 /usr/lib32/libhistory.so</userinput></screen>
96
97 </sect2>
98
99 <sect2 role="content">
100 <title/>
101
102 <para>Details on this package are located in <xref
103 linkend="contents-file" role="."/></para>
104
105 </sect2>
106
107</sect1>
Note: See TracBrowser for help on using the repository browser.