source: BOOK/final-system/multilib/ncurses-64bit.xml@ 725ea6d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 725ea6d was 97c2f58, checked in by Chris Staub <chris@…>, 17 years ago

Fixed XML validation problems

  • 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-ncurses" role="wrap">
9 <?dbhtml filename="ncurses-64bit.html"?>
10
11 <title>Ncurses-&ncurses-version; 64 Bit</title>
12
13 <indexterm zone="ch-system-ncurses">
14 <primary sortas="a-Ncurses">Ncurses</primary>
15 </indexterm>
16
[566db8e]17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../common/ncurses.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]20
21 <sect2 role="installation">
22 <title>Installation of Ncurses</title>
23
[55d273f]24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
25 href="ncurses.xml"
26 xpointer="xpointer(//*[@os='a'])"/>
27
[e0e40d3]28<screen os="b"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
[3f8be484]29 ./configure --prefix=/usr --libdir=/lib64 \
30 --with-shared --without-debug</userinput></screen>
31
32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
33 href="ncurses.xml"
34 xpointer="xpointer(//*[@os='c'])"/>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="ncurses.xml"
38 xpointer="xpointer(//*[@os='d'])"/>
39
40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="ncurses.xml"
42 xpointer="xpointer(//*[@os='e'])"/>
43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="ncurses.xml"
46 xpointer="xpointer(//*[@os='f'])"/>
47
48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
49 href="ncurses.xml"
50 xpointer="xpointer(//*[@os='g'])"/>
51
[96b8484]52 <para os="m1">Prepare <filename>ncurses5-config</filename> to be wrapped by
53 the multilib wrapper and then wrap it:</para>
54
55<screen os="m2"><userinput>mv -v /usr/bin/ncurses5-config{,-64}
[97c2f58]56ln -sv multilib_wrapper /usr/bin/ncurses5-config</userinput></screen>
[96b8484]57
[e0e40d3]58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="ncurses.xml"
60 xpointer="xpointer(//*[@os='h'])"/>
61
[94e6142]62<screen os="i"><userinput>mv -v /lib64/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib64</userinput></screen>
[3f8be484]63
[e0e40d3]64 <para os="j">Create symlinks in <filename class="directory">/usr/lib64:</filename></para>
[3f8be484]65
[94e6142]66<screen os="k"><userinput>rm -v /lib64/lib{ncurses,menu,panel,form,curses}.so
67ln -svf ../../lib64/libncurses.so.5 /usr/lib64/libncurses.so
68ln -svf ../../lib64/libncurses.so.5 /usr/lib64/libcurses.so
69ln -svf ../../lib64/libmenu.so.5 /usr/lib64/libmenu.so
70ln -svf ../../lib64/libpanel.so.5 /usr/lib64/libpanel.so
71ln -svf ../../lib64/libform.so.5 /usr/lib64/libform.so</userinput></screen>
[3f8be484]72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="ncurses.xml"
[e0e40d3]75 xpointer="xpointer(//*[@os='l'])"/>
[3f8be484]76
[3950d62]77<screen os="m"><userinput>chmod -v 755 /lib64/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
[3f8be484]78
79 </sect2>
80
81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="../common/ncurses.xml"
83 xpointer="xpointer(id('contents-ncurses'))"/>
84
85</sect1>
Note: See TracBrowser for help on using the repository browser.