source: BOOK/final-system/multilib/ncurses-n32.xml@ d0c5f50

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since d0c5f50 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-n32" role="wrap">
11 <?dbhtml filename="ncurses-n32.html"?>
12
13 <title>Ncurses-&ncurses-version; N32 Libraries</title>
14
15 <indexterm zone="ch-system-ncurses-n32">
16 <primary sortas="a-Ncurses">Ncurses</primary>
17 <secondary>N32</secondary>
18 </indexterm>
19
20 <sect2 role="package">
21 <title/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../common/ncurses.xml"
25 xpointer="xpointer(//*[@role='package']/para[1])"/>
26
27 <segmentedlist>
28 <segtitle>&buildtime;</segtitle>
29 <segtitle>&diskspace;</segtitle>
30
31 <seglistitem>
32 <seg>Not checked yet</seg>
33 <seg>Not checked yet</seg>
34 </seglistitem>
35 </segmentedlist>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../common/ncurses.xml"
39 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Ncurses</title>
45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="ncurses.xml"
48 xpointer="xpointer(//*[@os='a'])"/>
49
50<screen><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
51 ./configure --prefix=/usr --libdir=/lib32 \
52 --with-shared --without-debug</userinput></screen>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="ncurses.xml"
56 xpointer="xpointer(//*[@os='b'])"/>
57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="ncurses.xml"
60 xpointer="xpointer(//*[@os='c'])"/>
61
62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
63 href="ncurses.xml"
64 xpointer="xpointer(//*[@os='d'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="ncurses.xml"
68 xpointer="xpointer(//*[@os='e'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="ncurses.xml"
72 xpointer="xpointer(//*[@os='f'])"/>
73
74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
75 href="ncurses.xml"
76 xpointer="xpointer(//*[@os='g'])"/>
77
78<screen><userinput>mv /lib32/lib{panel,menu,form,ncurses,ncurses++}.a /usr/lib32</userinput></screen>
79
80 <para>Create symlinks in <filename class="directory">/usr/lib32:</filename></para>
81
82<screen><userinput>rm /lib32/lib{ncurses,menu,panel,form,curses}.so
83ln -sf ../../lib32/libncurses.so.5 /usr/lib32/libncurses.so
84ln -sf ../../lib32/libmenu.so.5 /usr/lib32/libmenu.so
85ln -sf ../../lib32/libpanel.so.5 /usr/lib32/libpanel.so
86ln -sf ../../lib32/libform.so.5 /usr/lib32/libform.so</userinput></screen>
87
88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
89 href="ncurses.xml"
90 xpointer="xpointer(//*[@os='k'])"/>
91
92<screen><userinput>chmod 755 /lib32/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
93
94 </sect2>
95
96 <sect2 role="content">
97 <title/>
98
99 <para>Details on this package are located in <xref
100 linkend="contents-ncurses" role="."/></para>
101
102 </sect2>
103
104</sect1>
Note: See TracBrowser for help on using the repository browser.