source: chapter06/readline.xml@ 9c9d585

Last change on this file since 9c9d585 was 1fe35e1, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • (chapter06/*.xml) RELAX NG validation fixes

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

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