source: BOOK/final-system/multilib/readline-64bit.xml@ 3135bd6

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 3135bd6 was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 3.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-readline" role="wrap">
11 <?dbhtml filename="readline-64bit.html"?>
12
13 <title>Readline-&readline-version; 64 Bit</title>
14
15 <indexterm zone="ch-system-readline">
16 <primary sortas="a-Readline">Readline</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
23 href="../common/readline.xml"
24 xpointer="xpointer(//*[@role='package']/para[1])"/>
25
26 <segmentedlist>
27 <segtitle>&buildtime;</segtitle>
28 <segtitle>&diskspace;</segtitle>
29
30 <seglistitem>
31 <seg>Not checked yet</seg>
32 <seg>Not checked yet</seg>
33 </seglistitem>
34 </segmentedlist>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../common/readline.xml"
38 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Readline</title>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="readline.xml"
47 xpointer="xpointer(//*[@os='a'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="readline.xml"
51 xpointer="xpointer(//*[@os='b'])"/>
52
53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54 href="readline.xml"
55 xpointer="xpointer(//*[@os='c'])"/>
56
57<screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
58 ./configure --prefix=/usr --libdir=/lib64</userinput></screen>
59
60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="readline.xml"
62 xpointer="xpointer(//*[@os='d'])"/>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="readline.xml"
66 xpointer="xpointer(//*[@os='e'])"/>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="readline.xml"
70 xpointer="xpointer(//*[@os='g'])"/>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="readline.xml"
74 xpointer="xpointer(//*[@os='h'])"/>
75
76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
77 href="readline.xml"
78 xpointer="xpointer(//*[@os='i'])"/>
79
80<screen><userinput>chmod 755 /lib64/lib{readline,history}.so*</userinput></screen>
81
82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="readline.xml"
84 xpointer="xpointer(//*[@os='k'])"/>
85
86<screen><userinput>mv /lib64/lib{readline,history}.a /usr/lib64</userinput></screen>
87
88 <para>Next, remove the <filename class="extension">.so</filename>
89 files in <filename class="directory">/lib64</filename> and relink them into
90 <filename class="directory">/usr/lib64</filename>.</para>
91
92<screen><userinput>rm /lib64/lib{readline,history}.so
93ln -sf ../../lib64/libreadline.so.5 /usr/lib64/libreadline.so
94ln -sf ../../lib64/libhistory.so.5 /usr/lib64/libhistory.so</userinput></screen>
95
96 </sect2>
97
98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
99 href="../common/readline.xml"
100 xpointer="xpointer(id('contents-readline'))"/>
101
102</sect1>
Note: See TracBrowser for help on using the repository browser.