1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <sect1 id="ch-system-ncurses" xreflabel="Ncurses" role="wrap">
|
---|
7 | <title>Ncurses-&ncurses-version;</title>
|
---|
8 | <?dbhtml filename="ncurses.html"?>
|
---|
9 |
|
---|
10 | <indexterm zone="ch-system-ncurses"><primary sortas="a-Ncurses">Ncurses</primary></indexterm>
|
---|
11 |
|
---|
12 | <sect2 role="package"><title/>
|
---|
13 |
|
---|
14 | <segmentedlist>
|
---|
15 | <segtitle>&buildtime;</segtitle>
|
---|
16 | <segtitle>&diskspace;</segtitle>
|
---|
17 | <seglistitem><seg>0.6 SBU</seg><seg>27 MB</seg></seglistitem>
|
---|
18 | </segmentedlist>
|
---|
19 |
|
---|
20 | </sect2>
|
---|
21 |
|
---|
22 | <sect2 role="installation">
|
---|
23 | <title>Installation of Ncurses</title>
|
---|
24 |
|
---|
25 | <para>Prepare Ncurses for compilation:</para>
|
---|
26 |
|
---|
27 | <screen><userinput>./configure --prefix=/usr --with-shared --without-debug</userinput></screen>
|
---|
28 |
|
---|
29 | <para>Compile the package:</para>
|
---|
30 |
|
---|
31 | <screen><userinput>make</userinput></screen>
|
---|
32 |
|
---|
33 | <para>Install the package:</para>
|
---|
34 |
|
---|
35 | <screen><userinput>make install</userinput></screen>
|
---|
36 |
|
---|
37 | <para>Give the Ncurses libraries execute permissions:</para>
|
---|
38 |
|
---|
39 | <screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen>
|
---|
40 |
|
---|
41 | <para>Now fix a library:</para>
|
---|
42 |
|
---|
43 | <screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen>
|
---|
44 |
|
---|
45 | <para>Move the libraries to the <filename class="directory">/lib</filename> directory:</para>
|
---|
46 |
|
---|
47 | <screen><userinput>mv /usr/lib/libncurses.so.5* /lib</userinput></screen>
|
---|
48 |
|
---|
49 | <para>Recreate some symlinks:</para>
|
---|
50 |
|
---|
51 | <screen><userinput>ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so
|
---|
52 | ln -sf libncurses.so /usr/lib/libcurses.so</userinput></screen>
|
---|
53 | </sect2>
|
---|
54 |
|
---|
55 |
|
---|
56 | <sect2 id="contents-ncurses" role="content"><title>Contents of Ncurses</title>
|
---|
57 |
|
---|
58 | <para>See testing</para>
|
---|
59 |
|
---|
60 | </sect2>
|
---|
61 |
|
---|
62 | </sect1>
|
---|