source: BOOK/final-system/common/ncurses.xml@ 0792e2a

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0792e2a was 0792e2a, checked in by Jim Gifford <clfs@…>, 16 years ago

Have Ncurses create /usr/include/ncurses, some widec builds get confused on which ncurses to use

  • Property mode set to 100644
File size: 5.1 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-ncurses" role="wrap">
9 <?dbhtml filename="ncurses.html"?>
10
11 <title>Ncurses-&ncurses-version;</title>
12
13 <indexterm zone="ch-system-ncurses">
14 <primary sortas="a-Ncurses">Ncurses</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Ncurses package contains libraries for terminal-independent
21 handling of character screens.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Ncurses</title>
27
28 <para os="p1">The following patch contains updates from the &ncurses-version; branch
29 by the Ncurses developers:</para>
30
31<screen os="p2"><userinput>patch -Np1 -i ../&ncurses-branch_update-patch;</userinput></screen>
32
33 <para os="a">Prepare Ncurses for compilation:</para>
34
35<screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \
36 --with-shared --without-debug \
37 --includedir=/usr/include/ncurses</userinput></screen>
38
39 <para os="c">Compile the package:</para>
40
41<screen os="d"><userinput>make</userinput></screen>
42
43 <para os="e">This package does not come with a test suite.</para>
44
45 <para os="f">Install the package:</para>
46
47<screen os="g"><userinput>make install</userinput></screen>
48
49 <para os="h">Move the Ncurses static libraries to the proper location:</para>
50
51<screen os="i"><userinput>mv -v /lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib</userinput></screen>
52
53 <para os="j">Create symlinks in <filename class="directory">/usr/lib:</filename></para>
54
55<screen os="k"><userinput>rm -v /lib/lib{ncurses,menu,panel,form,curses}.so
56ln -svf ../../lib/libncurses.so.5 /usr/lib/libcurses.so
57ln -svf ../../lib/libncurses.so.5 /usr/lib/libncurses.so
58ln -svf ../../lib/libmenu.so.5 /usr/lib/libmenu.so
59ln -svf ../../lib/libpanel.so.5 /usr/lib/libpanel.so
60ln -svf ../../lib/libform.so.5 /usr/lib/libform.so</userinput></screen>
61
62 </sect2>
63
64 <sect2 id="contents-ncurses" role="content">
65 <title>Contents of Ncurses</title>
66
67 <segmentedlist>
68 <segtitle>Installed programs</segtitle>
69 <segtitle>Installed libraries</segtitle>
70
71 <seglistitem>
72 <seg>ncurses5-config</seg>
73 <seg>libcurses.[a,so] (link to libncurses.[a,so]), libform.[a,so],
74 libmenu.[a,so], libncurses++.a, libncurses.[a,so], and
75 libpanel.[a,so]</seg>
76 </seglistitem>
77 </segmentedlist>
78
79 <variablelist>
80 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
81 <?dbfo list-presentation="list"?>
82 <?dbhtml list-presentation="table"?>
83
84 <varlistentry id="ncurses5-config">
85 <term><command>ncurses5-config</command></term>
86 <listitem>
87 <para>Provides configuration information for ncurses</para>
88 <indexterm zone="ch-system-ncurses ncurses5-config">
89 <primary sortas="b-ncurses5-config">ncurses5-config</primary>
90 </indexterm>
91 </listitem>
92 </varlistentry>
93
94 <varlistentry id="libcurses">
95 <term><filename class="libraryfile">libcurses</filename></term>
96 <listitem>
97 <para>A link to <filename>libncurses</filename></para>
98 <indexterm zone="ch-system-ncurses libcurses">
99 <primary sortas="c-libcurses">libcurses</primary>
100 </indexterm>
101 </listitem>
102 </varlistentry>
103
104 <varlistentry id="libncurses">
105 <term><filename class="libraryfile">libncurses</filename></term>
106 <listitem>
107 <para>Contains functions to display text in many complex ways on a
108 terminal screen; a good example of the use of these functions is the
109 menu displayed during the kernel's
110 <command>make menuconfig</command></para>
111 <indexterm zone="ch-system-ncurses libncurses">
112 <primary sortas="c-libncurses">libncurses</primary>
113 </indexterm>
114 </listitem>
115 </varlistentry>
116
117 <varlistentry id="libform">
118 <term><filename class="libraryfile">libform</filename></term>
119 <listitem>
120 <para>Contains functions to implement forms</para>
121 <indexterm zone="ch-system-ncurses libform">
122 <primary sortas="c-libform">libform</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
127 <varlistentry id="libmenu">
128 <term><filename class="libraryfile">libmenu</filename></term>
129 <listitem>
130 <para>Contains functions to implement menus</para>
131 <indexterm zone="ch-system-ncurses libmenu">
132 <primary sortas="c-libmenu">libmenu</primary>
133 </indexterm>
134 </listitem>
135 </varlistentry>
136
137 <varlistentry id="libpanel">
138 <term><filename class="libraryfile">libpanel</filename></term>
139 <listitem>
140 <para>Contains functions to implement panels</para>
141 <indexterm zone="ch-system-ncurses libpanel">
142 <primary sortas="c-libpanel">libpanel</primary>
143 </indexterm>
144 </listitem>
145 </varlistentry>
146
147 </variablelist>
148
149 </sect2>
150
151</sect1>
Note: See TracBrowser for help on using the repository browser.