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

clfs-3.0.0-systemd systemd
Last change on this file since 0959d10 was e89c4c9, checked in by William Harrington <kb0iic@…>, 11 years ago

Add versioned directory during readline configure so docs get installed to /usr/share/doc/readline-<version>

  • Property mode set to 100644
File size: 2.7 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
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[566db8e]19 href="../common/readline.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of Readline</title>
24
[dabbced]25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]26 href="readline.xml"
[001becd]27 xpointer="xpointer(//*[@os='p1'])"/>
28
[dabbced]29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[001becd]30 href="readline.xml"
31 xpointer="xpointer(//*[@os='p2'])"/>
32
[dabbced]33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[001becd]34 href="readline.xml"
35 xpointer="xpointer(//*[@os='a'])"/>
[3f8be484]36
[001becd]37<screen os="b"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
[e89c4c9]38 ./configure --prefix=/usr --libdir=/lib32 \
39 --docdir=/usr/share/doc/readline-&readline-version;</userinput></screen>
[3f8be484]40
[dabbced]41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]42 href="readline.xml"
[001becd]43 xpointer="xpointer(//*[@os='c'])"/>
[3f8be484]44
[dabbced]45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]46 href="readline.xml"
[001becd]47 xpointer="xpointer(//*[@os='d'])"/>
[3f8be484]48
[dabbced]49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]50 href="readline.xml"
[001becd]51 xpointer="xpointer(//*[@os='e'])"/>
[3f8be484]52
[dabbced]53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]54 href="readline.xml"
[001becd]55 xpointer="xpointer(//*[@os='f'])"/>
[3f8be484]56
[dabbced]57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[e0e40d3]58 href="readline.xml"
[001becd]59 xpointer="xpointer(//*[@os='g'])"/>
[e0e40d3]60
[dabbced]61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[5da8aa0]62 href="readline.xml"
[001becd]63 xpointer="xpointer(//*[@os='h'])"/>
[5da8aa0]64
[c806e36]65<screen os="i"><userinput>mv -v /lib32/lib{readline,history}.a /usr/lib32</userinput></screen>
[3f8be484]66
[c806e36]67 <para os="j">Next, relink the dynamic libraries into <filename class="directory">/usr/lib32</filename> and remove the <filename class="extension">.so</filename> files in <filename class="directory">/lib32</filename>.</para>
[3f8be484]68
[bd38dd3]69<screen os="k"><userinput>ln -svf ../../lib32/$(readlink /lib32/libreadline.so) /usr/lib32/libreadline.so
[78dd6d6]70ln -svf ../../lib32/$(readlink /lib32/libhistory.so) /usr/lib32/libhistory.so
71rm -v /lib32/lib{readline,history}.so</userinput></screen>
[3f8be484]72
73 </sect2>
74
75 <sect2 role="content">
76 <title/>
77
78 <para>Details on this package are located in <xref
79 linkend="contents-file" role="."/></para>
80
81 </sect2>
82
83</sect1>
Note: See TracBrowser for help on using the repository browser.