source: chapter06/readline.xml@ 2aee5500

Last change on this file since 2aee5500 was a8f36125, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • (all) Removed all references to the DocBook DTD
  • (docbook.rng) Added the DocBook "Gin" schema
  • (Makefile) Updated with new validation command
  • (prologue/*) Validation fixes

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/LFS-RNG/BOOK@4329 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-readline" xreflabel="Readline" role="wrap">
7<title>Readline-&readline-version;</title>
8<?dbhtml filename="readline.html"?>
9
10<indexterm zone="ch-system-readline"><primary sortas="a-Readline">Readline</primary></indexterm>
11
12<sect2 role="package"><title/>
13<para>The Readline package contains the Readline command-line library.</para>
14
15<segmentedlist>
16<segtitle>&buildtime;</segtitle>
17<segtitle>&diskspace;</segtitle>
18<seglistitem><seg>XXX SBU</seg><seg>3.8 MB</seg></seglistitem>
19</segmentedlist>
20
21<segmentedlist>
22<segtitle>Readline installation depends on</segtitle>
23<seglistitem><seg>Binutils, Coreutils, Diffutils, Gawk,
24GCC, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem>
25</segmentedlist>
26</sect2>
27
28<sect2 role="installation">
29<title>Installation of Readline</title>
30
31<para>The following patch fixes various issues including a problem where Readline
32sometimes will only show 33 characters on a line and then wrap to the next line.</para>
33
34<screen><userinput>patch -Np1 -i ../readline-&readline-version;-fixes-1.patch</userinput></screen>
35
36<para>Prepare Readline for compilation:</para>
37
38<screen><userinput>./configure --prefix=/usr</userinput></screen>
39
40<para>Compile the package:</para>
41
42<screen><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>
43
44<para>Install the package:</para>
45
46<screen><userinput>make install</userinput></screen>
47
48<para>Give Readline's dynamic libraries to a more appropriate permissions:</para>
49
50<screen><userinput>chmod 755 /usr/lib/*.&readline-version;</userinput></screen>
51
52<para>And move them to a more appropriate location:</para>
53
54<screen><userinput>mv /usr/lib/lib{readline,history}.so.5* /lib</userinput></screen>
55
56<para>Because the libraries have been moved, a few symlinks are now pointing to
57non-existent files. Recreate those symlinks:</para>
58
59<screen><userinput>ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so
60ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so</userinput></screen>
61
62</sect2>
63
64
65<sect2 id="contents-readline" role="content"><title>Contents of Readline</title>
66<segmentedlist>
67<segtitle>Installed libraries</segtitle>
68<seglistitem><seg>Not checked</seg></seglistitem>
69</segmentedlist>
70</sect2>
71
72
73</sect1>
Note: See TracBrowser for help on using the repository browser.