source: BOOK/final-system/multilib/readline-n32.xml@ de18e330

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since de18e330 was 110e1fa, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Simplify and Fix the linking of Readline to NCurses.

  • Property mode set to 100644
File size: 2.9 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-n32" role="wrap">
9 <?dbhtml filename="readline-n32.html"?>
10
11 <title>Readline-&readline-version; N32 Libraries</title>
12
13 <indexterm zone="ch-system-readline-n32">
14 <primary sortas="a-Readline">Readline</primary>
15 <secondary>N32</secondary>
16 </indexterm>
17
[566db8e]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../common/readline.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of Readline</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="readline.xml"
[001becd]27 xpointer="xpointer(//*[@os='p1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="readline.xml"
31 xpointer="xpointer(//*[@os='p2'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="readline.xml"
35 xpointer="xpointer(//*[@os='a'])"/>
[3f8be484]36
[001becd]37<screen os="b"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
[3f8be484]38 ./configure --prefix=/usr --libdir=/lib32</userinput></screen>
39
40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="readline.xml"
[001becd]42 xpointer="xpointer(//*[@os='c'])"/>
[3f8be484]43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="readline.xml"
[001becd]46 xpointer="xpointer(//*[@os='d'])"/>
[3f8be484]47
48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
49 href="readline.xml"
[001becd]50 xpointer="xpointer(//*[@os='e'])"/>
[3f8be484]51
52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53 href="readline.xml"
[001becd]54 xpointer="xpointer(//*[@os='f'])"/>
[3f8be484]55
[e0e40d3]56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="readline.xml"
[001becd]58 xpointer="xpointer(//*[@os='g'])"/>
[e0e40d3]59
[5da8aa0]60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="readline.xml"
[001becd]62 xpointer="xpointer(//*[@os='h'])"/>
[5da8aa0]63
[4f743c5]64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="readline.xml"
66 xpointer="xpointer(//*[@os='i'])"/>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="readline.xml"
70 xpointer="xpointer(//*[@os='j'])"/>
71
72<screen os="k"><userinput>mv -v /lib32/lib{readline,history}.a /usr/lib32</userinput></screen>
[3f8be484]73
[4f743c5]74 <para os="l">Next, remove the <filename class="extension">.so</filename>
[3f8be484]75 files in <filename class="directory">/lib32</filename> and relink them into
76 <filename class="directory">/usr/lib32</filename>.</para>
77
[4f743c5]78<screen os="m"><userinput>rm -v /lib32/lib{readline,history}.so
[cf1daf0]79ln -svf ../../lib32/libreadline.so.&readline-version2; /usr/lib32/libreadline.so
80ln -svf ../../lib32/libhistory.so.&readline-version2; /usr/lib32/libhistory.so</userinput></screen>
[3f8be484]81
82 </sect2>
83
84 <sect2 role="content">
85 <title/>
86
87 <para>Details on this package are located in <xref
88 linkend="contents-file" role="."/></para>
89
90 </sect2>
91
92</sect1>
Note: See TracBrowser for help on using the repository browser.