source: chapter05/ncurses.xml@ 9c9d585

Last change on this file since 9c9d585 was 1375d26, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • (chapter05/*.xml) RELAX NG validation fixes

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

  • Property mode set to 100644
File size: 2.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE section [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<section xmlns="http://docbook.org/docbook-ng"
7 xmlns:xi="http://www.w3.org/2003/XInclude"
8 xml:id="ch-tools-ncurses" role="wrap">
9<title>Ncurses-&ncurses-version;</title>
10<?dbhtml filename="ncurses.html"?>
11
12<indexterm zone="ch-tools-ncurses">
13<primary sortas="a-Ncurses">Ncurses</primary>
14<secondary>tools</secondary></indexterm>
15
16<section role="package"><title/>
17<xi:include href="../chapter06/ncurses.xml" xpointer="xpointer(/*[1]/*[3]/*[2])"/>
18
19<segmentedlist>
20<segtitle>&buildtime;</segtitle>
21<segtitle>&diskspace;</segtitle>
22<seglistitem><seg>0.7 SBU</seg><seg>26 MB</seg></seglistitem>
23</segmentedlist>
24
25<xi:include href="../chapter06/ncurses.xml" xpointer="xpointer(/*[1]/*[3]/*[4])"/>
26
27</section>
28
29<section role="installation">
30<title>Installation of Ncurses</title>
31
32<para>Prepare Ncurses for compilation:</para>
33
34<screen><userinput>./configure --prefix=/tools --with-shared \
35 --without-debug --without-ada --enable-overwrite</userinput></screen>
36
37<para>The meaning of the configure options:</para>
38
39<variablelist>
40<varlistentry>
41<term><parameter>--without-ada</parameter></term>
42<listitem><para>This tells Ncurses not
43to build its Ada bindings, even if an Ada compiler is installed on the host.
44This must be done because once we enter the chroot environment, Ada will no
45longer be available.</para></listitem>
46</varlistentry>
47
48<varlistentry>
49<term><parameter>--enable-overwrite</parameter></term>
50<listitem><para>This tells Ncurses to install its header files into
51<filename class="directory">/tools/include</filename> instead of
52<filename class="directory">/tools/include/ncurses</filename> to ensure that
53other packages can find the Ncurses headers successfully.</para></listitem>
54</varlistentry>
55</variablelist>
56
57<para>Compile the programs and libraries:</para>
58
59<screen><userinput>make</userinput></screen>
60
61<para>Then install them and their documentation:</para>
62
63<screen><userinput>make install</userinput></screen>
64
65</section>
66
67<section role="content"><title/>
68<para>The details on this package are found in <xref linkend="contents-ncurses"/>.</para>
69</section>
70
71</section>
Note: See TracBrowser for help on using the repository browser.