source: chapter05/ncurses.xml@ e88c73c

7.5-systemd 7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since e88c73c was e88c73c, checked in by Krejzi <krejzi@…>, 10 years ago

Merge latest lfs svn, update to D-Bus 1.8.0, fix Systemd to build with latest lfs changes.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10454 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 3.7 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-tools-ncurses" role="wrap">
9 <?dbhtml filename="ncurses.html"?>
10
11 <sect1info condition="script">
12 <productname>ncurses</productname>
13 <productnumber>&ncurses-version;</productnumber>
14 <address>&ncurses-url;</address>
15 </sect1info>
16
17 <title>Ncurses-&ncurses-version;</title>
18
19 <indexterm zone="ch-tools-ncurses">
20 <primary sortas="a-Ncurses">Ncurses</primary>
21 <secondary>tools</secondary>
22 </indexterm>
23
24 <sect2 role="package">
25 <title/>
26
27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
28 href="../chapter06/ncurses.xml"
29 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
30
31 <segmentedlist>
32 <segtitle>&buildtime;</segtitle>
33 <segtitle>&diskspace;</segtitle>
34
35 <seglistitem>
36 <seg>&ncurses-ch5-sbu;</seg>
37 <seg>&ncurses-ch5-du;</seg>
38 </seglistitem>
39 </segmentedlist>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Ncurses</title>
45
46 <para>Prepare Ncurses for compilation:</para>
47
48<screen><userinput remap="configure">./configure --prefix=/tools \
49 --with-shared \
50 --without-debug \
51 --without-ada \
52 --enable-widec \
53 --enable-overwrite</userinput></screen>
54
55 <variablelist>
56 <title>The meaning of the configure options:</title>
57
58 <varlistentry>
59 <term><parameter>--without-ada</parameter></term>
60 <listitem>
61 <para>This ensures that Ncurses does not build support for the Ada
62 compiler which may be present on the host but will not be available
63 once we enter the <command>chroot</command> environment.</para>
64 </listitem>
65 </varlistentry>
66
67 <varlistentry>
68 <term><parameter>--enable-overwrite</parameter></term>
69 <listitem>
70 <para>This tells Ncurses to install its header files into
71 <filename class="directory">/tools/include</filename>, instead of
72 <filename class="directory">/tools/include/ncurses</filename>, to
73 ensure that other packages can find the Ncurses headers
74 successfully.</para>
75 </listitem>
76 </varlistentry>
77
78 <varlistentry>
79 <term><parameter>--enable-widec</parameter></term>
80 <listitem>
81 <para>This switch causes wide-character libraries (e.g., <filename
82 class="libraryfile">libncursesw.so.&ncurses-version;</filename>)
83 to be built instead of normal ones (e.g., <filename
84 class="libraryfile">libncurses.so.&ncurses-version;</filename>).
85 These wide-character libraries are usable in both multibyte and
86 traditional 8-bit locales, while normal libraries work properly
87 only in 8-bit locales. Wide-character and normal libraries are
88 source-compatible, but not binary-compatible.</para>
89 </listitem>
90 </varlistentry>
91
92 </variablelist>
93
94 <para>Compile the package:</para>
95
96<screen><userinput remap="make">make</userinput></screen>
97
98 <para>This package has a test suite, but it can only be run after the
99 package has been installed. The tests reside in the
100 <filename class="directory">test/</filename> directory. See the
101 <filename>README</filename> file in that directory for further details.
102 </para>
103
104 <para>Install the package:</para>
105
106<screen><userinput remap="install">make install</userinput></screen>
107
108 </sect2>
109
110 <sect2 role="content">
111 <title/>
112
113 <para>Details on this package are located in
114 <xref linkend="contents-ncurses" role="."/></para>
115
116 </sect2>
117
118</sect1>
Note: See TracBrowser for help on using the repository browser.