source: BOOK/final-system/multilib/ncurses-64bit.xml@ 929aaed

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 929aaed 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.1 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-ncurses" role="wrap">
11 <?dbhtml filename="ncurses-64bit.html"?>
12
13 <title>Ncurses-&ncurses-version; 64 Bit</title>
14
15 <indexterm zone="ch-system-ncurses">
16 <primary sortas="a-Ncurses">Ncurses</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/ncurses.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/ncurses.xml"
38 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Ncurses</title>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="ncurses.xml"
47 xpointer="xpointer(//*[@os='a'])"/>
48
49<screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
50 ./configure --prefix=/usr --libdir=/lib64 \
51 --with-shared --without-debug</userinput></screen>
52
53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54 href="ncurses.xml"
55 xpointer="xpointer(//*[@os='b'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="ncurses.xml"
59 xpointer="xpointer(//*[@os='c'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="ncurses.xml"
63 xpointer="xpointer(//*[@os='d'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="ncurses.xml"
67 xpointer="xpointer(//*[@os='e'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="ncurses.xml"
71 xpointer="xpointer(//*[@os='f'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="ncurses.xml"
75 xpointer="xpointer(//*[@os='g'])"/>
76
77<screen><userinput>mv /lib64/lib{panel,menu,form,ncurses,ncurses++}.a /usr/lib64</userinput></screen>
78
79 <para>Create symlinks in <filename class="directory">/usr/lib64:</filename></para>
80
81<screen><userinput>rm /lib64/lib{ncurses,menu,panel,form,curses}.so
82ln -sf ../../lib64/libncurses.so.5 /usr/lib64/libncurses.so
83ln -sf ../../lib64/libmenu.so.5 /usr/lib64/libmenu.so
84ln -sf ../../lib64/libpanel.so.5 /usr/lib64/libpanel.so
85ln -sf ../../lib64/libform.so.5 /usr/lib64/libform.so</userinput></screen>
86
87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
88 href="ncurses.xml"
89 xpointer="xpointer(//*[@os='k'])"/>
90
91<screen><userinput>chmod 755 /lib64/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
92
93 </sect2>
94
95 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
96 href="../common/ncurses.xml"
97 xpointer="xpointer(id('contents-ncurses'))"/>
98
99</sect1>
Note: See TracBrowser for help on using the repository browser.