source: chapter06/readline.xml@ 8748bf3

6.0
Last change on this file since 8748bf3 was 8748bf3, checked in by Jeremy Utley <jeremy@…>, 20 years ago

Upgraded testing to automake-1.9, man-1.5n, file-4.10, bash-3.0, perl-5.8.5, readline-5.0, tcl-8.4.7

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

  • Property mode set to 100644
File size: 2.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
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>Prepare Readline for compilation:</para>
32
33<screen><userinput>./configure --prefix=/usr</userinput></screen>
34
35<para>Compile the package:</para>
36
37<screen><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>
38
39<para>Install the package:</para>
40
41<screen><userinput>make install</userinput></screen>
42
43<para>Give Readline's dynamic libraries to a more appropriate permissions:</para>
44
45<screen><userinput>chmod 755 /usr/lib/*.&readline-version;</userinput></screen>
46
47<para>And move them to a more appropriate location:</para>
48
49<screen><userinput>mv /usr/lib/lib{readline,history}.so.5* /lib</userinput></screen>
50
51<para>Because the libraries have been moved, a few symlinks are now pointing to
52non-existent files. Recreate those symlinks:</para>
53
54<screen><userinput>ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so
55ln -sf ../../lib/libreadline.so.4 /usr/lib/libreadline.so</userinput></screen>
56
57</sect2>
58
59
60<sect2 id="contents-readline" role="content"><title>Contents of Readline</title>
61<segmentedlist>
62<segtitle>Installed libraries</segtitle>
63<seglistitem><seg>Not checked</seg></seglistitem>
64</segmentedlist>
65</sect2>
66
67
68</sect1>
Note: See TracBrowser for help on using the repository browser.