source: BOOK/final-system/common/readline.xml@ 57c6e18

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 57c6e18 was 7ac1d91, checked in by William Harrington <kb0iic@…>, 11 years ago

Comment out Readline branch update area for future use.

  • Property mode set to 100644
File size: 3.7 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-readline" role="wrap">
9 <?dbhtml filename="readline.html"?>
10
11 <title>Readline-&readline-version;</title>
12
13 <indexterm zone="ch-system-readline">
14 <primary sortas="a-Readline">Readline</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Readline package is a set of libraries that offers command-line
21 editing and history capabilities.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Readline</title>
27
[7ac1d91]28<!-- Readline branch update patch area
[001becd]29 <para os="p1">The following patch contains updates from the maintainer. The
30 maintainer of Readline only releases these patches to fix serious issues:</para>
[3f8be484]31
[04494b7]32<screen os="p2"><userinput>patch -Np1 -i ../&readline-branch_update-patch;</userinput></screen>
[7ac1d91]33-->
[3f8be484]34
[001becd]35 <para os="a">Prepare Readline for compilation:</para>
[3f8be484]36
[001becd]37<screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
[3f8be484]38
[001becd]39 <para os="c">Compile the package:</para>
40
[110e1fa]41<screen os="d"><userinput>make SHLIB_LIBS=-lncurses</userinput></screen>
[3f8be484]42
[3d00c1ed]43 <para os="e">This package does not come with a test suite.</para>
[3f8be484]44
[3d00c1ed]45 <para os="f">Install the package:</para>
[3f8be484]46
[3d00c1ed]47<screen os="g"><userinput>make install</userinput></screen>
[5da8aa0]48
[4f743c5]49 <para os="h">Install the documentation:</para>
[3f8be484]50
[4f743c5]51<screen os="i"><userinput>make install-doc</userinput></screen>
[3f8be484]52
[4f743c5]53 <para os="j">Now move the static libraries to a more appropriate location:</para>
54
55<screen os="k"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
56
[78dd6d6]57 <para os="l">Next, relink the dynamic libraries into <filename class="directory">/usr/lib</filename> and remove the <filename class="extension">.so</filename> files in <filename class="directory">/lib</filename>.</para>
[3f8be484]58
[78dd6d6]59<screen os="m"><userinput>
60ln -svf ../../lib/$(readlink /lib/libreadline.so) /usr/lib/libreadline.so
61ln -svf ../../lib/$(readlink /lib/libhistory.so) /usr/lib/libhistory.so
62rm -v /lib/lib{readline,history}.so</userinput></screen>
[3f8be484]63
64 </sect2>
65
66 <sect2 id="contents-readline" role="content">
67 <title>Contents of Readline</title>
68
69 <segmentedlist>
70 <segtitle>Installed libraries</segtitle>
[61ad0b7f]71 <segtitle>Installed directories</segtitle>
[3f8be484]72
73 <seglistitem>
74 <seg>libhistory.[a,so], and libreadline.[a,so]</seg>
[61ad0b7f]75 <seg>/usr/include/readline, /usr/share/readline</seg>
[3f8be484]76 </seglistitem>
77 </segmentedlist>
78
79 <variablelist>
80 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
81 <?dbfo list-presentation="list"?>
82 <?dbhtml list-presentation="table"?>
83
84 <varlistentry id="libhistory">
85 <term><filename class="libraryfile">libhistory</filename></term>
86 <listitem>
87 <para>Provides a consistent user interface
88 for recalling lines of history</para>
89 <indexterm zone="ch-system-readline libhistory">
90 <primary sortas="c-libhistory">libhistory</primary>
91 </indexterm>
92 </listitem>
93 </varlistentry>
94
95 <varlistentry id="libreadline">
96 <term><filename class="libraryfile">libreadline</filename></term>
97 <listitem>
98 <para>Aids in the consistency of user interface
99 across discrete programs that need to provide a command line
100 interface</para>
101 <indexterm zone="ch-system-readline libreadline">
102 <primary sortas="c-libreadline">libreadline</primary>
103 </indexterm>
104 </listitem>
105 </varlistentry>
106
107 </variablelist>
108
109 </sect2>
110
111</sect1>
Note: See TracBrowser for help on using the repository browser.