2004-05-06 17:50:03 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2004-05-16 01:08:42 +01:00
|
|
|
<sect1 id="ch-system-readline" xreflabel="Readline" role="wrap">
|
2004-05-06 17:50:03 +01:00
|
|
|
<title>Readline-&readline-version;</title>
|
|
|
|
<?dbhtml filename="readline.html"?>
|
|
|
|
|
|
|
|
<indexterm zone="ch-system-readline"><primary sortas="a-Readline">Readline</primary></indexterm>
|
|
|
|
|
2004-05-16 01:08:42 +01:00
|
|
|
<sect2 role="package"><title/>
|
2004-05-06 17:50:03 +01:00
|
|
|
<para>The Readline package contains the Readline command-line library.</para>
|
|
|
|
|
2004-05-16 01:08:42 +01:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
|
<segtitle>&diskspace;</segtitle>
|
|
|
|
<seglistitem><seg>XXX SBU</seg><seg>3.8 MB</seg></seglistitem>
|
|
|
|
</segmentedlist>
|
2004-05-06 17:50:03 +01:00
|
|
|
|
2004-05-16 01:08:42 +01:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Readline installation depends on</segtitle>
|
|
|
|
<seglistitem><seg>Binutils, Coreutils, Diffutils, Gawk,
|
|
|
|
GCC, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
</sect2>
|
2004-05-06 17:50:03 +01:00
|
|
|
|
2004-05-16 01:08:42 +01:00
|
|
|
<sect2 role="installation">
|
2004-05-06 17:50:03 +01:00
|
|
|
<title>Installation of Readline</title>
|
|
|
|
|
2004-09-29 19:00:17 +01:00
|
|
|
<para>The following patch fixes various issues including a problem where Readline
|
|
|
|
sometimes will only show 33 characters on a line and then wrap to the next line.</para>
|
2004-08-28 02:01:20 +01:00
|
|
|
|
2004-09-29 19:00:17 +01:00
|
|
|
<screen><userinput>patch -Np1 -i ../readline-&readline-version;-fixes-1.patch</userinput></screen>
|
2004-08-28 02:01:20 +01:00
|
|
|
|
2004-07-30 22:04:25 +01:00
|
|
|
<para>Prepare Readline for compilation:</para>
|
2004-05-06 17:50:03 +01:00
|
|
|
|
|
|
|
<screen><userinput>./configure --prefix=/usr</userinput></screen>
|
|
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
2004-06-11 15:31:57 +01:00
|
|
|
<screen><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>
|
2004-05-06 17:50:03 +01:00
|
|
|
|
|
|
|
<para>Install the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
<para>Give Readline's dynamic libraries to a more appropriate permissions:</para>
|
|
|
|
|
2004-06-15 20:39:31 +01:00
|
|
|
<screen><userinput>chmod 755 /usr/lib/*.&readline-version;</userinput></screen>
|
2004-05-06 17:50:03 +01:00
|
|
|
|
|
|
|
<para>And move them to a more appropriate location:</para>
|
|
|
|
|
2004-07-30 22:04:25 +01:00
|
|
|
<screen><userinput>mv /usr/lib/lib{readline,history}.so.5* /lib</userinput></screen>
|
2004-05-06 17:50:03 +01:00
|
|
|
|
|
|
|
<para>Because the libraries have been moved, a few symlinks are now pointing to
|
|
|
|
non-existent files. Recreate those symlinks:</para>
|
|
|
|
|
2004-07-30 22:04:25 +01:00
|
|
|
<screen><userinput>ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so
|
2004-07-31 00:48:29 +01:00
|
|
|
ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so</userinput></screen>
|
2004-05-06 17:50:03 +01:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
2004-05-17 22:55:01 +01:00
|
|
|
<sect2 id="contents-readline" role="content"><title>Contents of Readline</title>
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed libraries</segtitle>
|
|
|
|
<seglistitem><seg>Not checked</seg></seglistitem>
|
|
|
|
</segmentedlist>
|
2004-05-06 17:50:03 +01:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
|
|
</sect1>
|