source: BOOK/final-system/multilib/readline-n32.xml @ 5b72bba

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