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
|
|
|
|
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
|
|
|
</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-12-21 19:38:32 +00:00
|
|
|
<para>Apply a patch.</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
|
|
|
|
2004-12-03 18:29:38 +00:00
|
|
|
<screen><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
|
2004-05-06 17:50:03 +01:00
|
|
|
|
|
|
|
<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-12-07 22:13:33 +00:00
|
|
|
<screen><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen>
|
2004-05-06 17:50:03 +01:00
|
|
|
|
2004-12-03 20:16:37 +00:00
|
|
|
<para>Now we move the static libraries to a more appropriate location:</para>
|
2004-05-06 17:50:03 +01:00
|
|
|
|
2004-12-03 18:29:38 +00:00
|
|
|
<screen><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen>
|
2004-05-06 17:50:03 +01:00
|
|
|
|
2004-12-06 18:24:50 +00:00
|
|
|
<para>Now we will remove the old, .so files in /lib and relink them into /usr/lib.</para>
|
|
|
|
|
|
|
|
<screen><userinput>rm /lib/lib{readline,history}.so
|
|
|
|
ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
|
|
|
|
ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.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>
|
2004-12-21 19:38:32 +00:00
|
|
|
|
|
|
|
<para>See testing</para>
|
|
|
|
|
2004-05-06 17:50:03 +01:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
|
|
</sect1>
|