source: BOOK/final-system/multilib/readline-64bit.xml@ 27178ae

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 27178ae was 5b72bba, checked in by Jim Gifford <clfs@…>, 19 years ago

r953@server (orig r951): jim | 2005-12-22 00:47:27 -0800

r1172@server: jim | 2005-12-22 00:40:48 -0800
Added Readline Patch from Maintainer


001 - A problem with the readline callback interface can result in segmentation

faults when using the delete-char function via a multiple-key sequence.
Two consecutive calls to delete-char will crash the application calling
readline.




  • Property mode set to 100644
File size: 2.8 KB
Line 
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-readline" role="wrap">
9 <?dbhtml filename="readline-64bit.html"?>
10
11 <title>Readline-&readline-version; 64 Bit</title>
12
13 <indexterm zone="ch-system-readline">
14 <primary sortas="a-Readline">Readline</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../common/readline.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of Readline</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
25 href="readline.xml"
26 xpointer="xpointer(//*[@os='p1'])"/>
27
28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
29 href="readline.xml"
30 xpointer="xpointer(//*[@os='p2'])"/>
31
32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
33 href="readline.xml"
34 xpointer="xpointer(//*[@os='c'])"/>
35
36<screen os="d"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
37 ./configure --prefix=/usr --libdir=/lib64</userinput></screen>
38
39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40 href="readline.xml"
41 xpointer="xpointer(//*[@os='e'])"/>
42
43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
44 href="readline.xml"
45 xpointer="xpointer(//*[@os='f'])"/>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="readline.xml"
49 xpointer="xpointer(//*[@os='g'])"/>
50
51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="readline.xml"
53 xpointer="xpointer(//*[@os='h'])"/>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="readline.xml"
57 xpointer="xpointer(//*[@os='i'])"/>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="readline.xml"
61 xpointer="xpointer(//*[@os='j'])"/>
62
63<screen os="k"><userinput>chmod 755 /lib64/lib{readline,history}.so*</userinput></screen>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="readline.xml"
67 xpointer="xpointer(//*[@os='l'])"/>
68
69<screen os="m"><userinput>mv /lib64/lib{readline,history}.a /usr/lib64</userinput></screen>
70
71 <para os="n">Next, remove the <filename class="extension">.so</filename>
72 files in <filename class="directory">/lib64</filename> and relink them into
73 <filename class="directory">/usr/lib64</filename>.</para>
74
75<screen os="o"><userinput>rm /lib64/lib{readline,history}.so
76ln -sf ../../lib64/libreadline.so.5 /usr/lib64/libreadline.so
77ln -sf ../../lib64/libhistory.so.5 /usr/lib64/libhistory.so</userinput></screen>
78
79 </sect2>
80
81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="../common/readline.xml"
83 xpointer="xpointer(id('contents-readline'))"/>
84
85</sect1>
Note: See TracBrowser for help on using the repository browser.