[3125dfb] | 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 | ]>
|
---|
[a001133] | 6 | <sect1 id="ch-system-readline" xreflabel="Readline" role="wrap">
|
---|
[3125dfb] | 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 |
|
---|
[a001133] | 12 | <sect2 role="package"><title/>
|
---|
[3125dfb] | 13 |
|
---|
[a001133] | 14 | <segmentedlist>
|
---|
| 15 | <segtitle>&buildtime;</segtitle>
|
---|
| 16 | <segtitle>&diskspace;</segtitle>
|
---|
| 17 | <seglistitem><seg>XXX SBU</seg><seg>3.8 MB</seg></seglistitem>
|
---|
| 18 | </segmentedlist>
|
---|
[3125dfb] | 19 |
|
---|
[a001133] | 20 | </sect2>
|
---|
[3125dfb] | 21 |
|
---|
[a001133] | 22 | <sect2 role="installation">
|
---|
[3125dfb] | 23 | <title>Installation of Readline</title>
|
---|
| 24 |
|
---|
[3f0c882] | 25 | <para>Apply a patch.</para>
|
---|
[5e81f02] | 26 |
|
---|
[51504be] | 27 | <screen><userinput>patch -Np1 -i ../readline-&readline-version;-fixes-1.patch</userinput></screen>
|
---|
[5e81f02] | 28 |
|
---|
[e8d07afc] | 29 | <para>Prepare Readline for compilation:</para>
|
---|
[3125dfb] | 30 |
|
---|
[5091251] | 31 | <screen><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
|
---|
[3125dfb] | 32 |
|
---|
| 33 | <para>Compile the package:</para>
|
---|
| 34 |
|
---|
[a66c1cd3] | 35 | <screen><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>
|
---|
[3125dfb] | 36 |
|
---|
| 37 | <para>Install the package:</para>
|
---|
| 38 |
|
---|
| 39 | <screen><userinput>make install</userinput></screen>
|
---|
| 40 |
|
---|
| 41 | <para>Give Readline's dynamic libraries to a more appropriate permissions:</para>
|
---|
| 42 |
|
---|
[30c872d] | 43 | <screen><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen>
|
---|
[3125dfb] | 44 |
|
---|
[ee6618f] | 45 | <para>Now we move the static libraries to a more appropriate location:</para>
|
---|
[3125dfb] | 46 |
|
---|
[5091251] | 47 | <screen><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen>
|
---|
[3125dfb] | 48 |
|
---|
[7111666] | 49 | <para>Now we will remove the old, .so files in /lib and relink them into /usr/lib.</para>
|
---|
| 50 |
|
---|
| 51 | <screen><userinput>rm /lib/lib{readline,history}.so
|
---|
| 52 | ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
|
---|
| 53 | ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
|
---|
[3125dfb] | 54 | </sect2>
|
---|
| 55 |
|
---|
| 56 |
|
---|
[c6cb3aa] | 57 | <sect2 id="contents-readline" role="content"><title>Contents of Readline</title>
|
---|
[3f0c882] | 58 |
|
---|
| 59 | <para>See testing</para>
|
---|
| 60 |
|
---|
[3125dfb] | 61 | </sect2>
|
---|
| 62 |
|
---|
| 63 |
|
---|
| 64 | </sect1>
|
---|