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

systemd
Last change on this file since cbe4a7ba was 7cd7f99, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

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