source: chapter05/ncurses.xml@ d22a5031

Last change on this file since d22a5031 was b06ca36, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Updated book sources to use DocBook-XML DTD 4.5

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

  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[7b82580]7
[9652249]8<sect1 id="ch-tools-ncurses" role="wrap">
[7b82580]9 <?dbhtml filename="ncurses.html"?>
[bc82645e]10
[7b82580]11 <title>Ncurses-&ncurses-version;</title>
[81fd230]12
[7b82580]13 <indexterm zone="ch-tools-ncurses">
14 <primary sortas="a-Ncurses">Ncurses</primary>
15 <secondary>tools</secondary>
16 </indexterm>
[673b0d8]17
[7b82580]18 <sect2 role="package">
19 <title/>
[673b0d8]20
[7b82580]21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
22 href="../chapter06/ncurses.xml"
23 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
[81fd230]24
[7b82580]25 <segmentedlist>
26 <segtitle>&buildtime;</segtitle>
27 <segtitle>&diskspace;</segtitle>
[73aedd1d]28
[7b82580]29 <seglistitem>
[e4a5635]30 <seg>&ncurses-ch5-sbu;</seg>
31 <seg>&ncurses-ch5-du;</seg>
[7b82580]32 </seglistitem>
33 </segmentedlist>
[73aedd1d]34
[7b82580]35 </sect2>
[73aedd1d]36
[7b82580]37 <sect2 role="installation">
38 <title>Installation of Ncurses</title>
[81fd230]39
[7b82580]40 <para>Prepare Ncurses for compilation:</para>
[81fd230]41
[7b82580]42<screen><userinput>./configure --prefix=/tools --with-shared \
43 --without-debug --without-ada --enable-overwrite</userinput></screen>
[81fd230]44
[7b82580]45 <variablelist>
46 <title>The meaning of the configure options:</title>
47
48 <varlistentry>
49 <term><parameter>--without-ada</parameter></term>
50 <listitem>
51 <para>This ensures that Ncurses does not build support for the Ada
52 compiler which may be present on the host but will not be available
53 once we enter the <command>chroot</command> environment.</para>
54 </listitem>
55 </varlistentry>
56
57 <varlistentry>
58 <term><parameter>--enable-overwrite</parameter></term>
59 <listitem>
60 <para>This tells Ncurses to install its header files into
61 <filename class="directory">/tools/include</filename>, instead of
62 <filename class="directory">/tools/include/ncurses</filename>, to
63 ensure that other packages can find the Ncurses headers
64 successfully.</para>
65 </listitem>
66 </varlistentry>
67
68 </variablelist>
69
70 <para>Compile the package:</para>
[73aedd1d]71
[b3adaba]72<screen><userinput>make</userinput></screen>
[73aedd1d]73
[7b82580]74 <para>This package does not come with a test suite.</para>
[81fd230]75
[7b82580]76 <para>Install the package:</para>
[73aedd1d]77
78<screen><userinput>make install</userinput></screen>
79
[7b82580]80 </sect2>
[bc82645e]81
[7b82580]82 <sect2 role="content">
83 <title/>
[81fd230]84
[7b82580]85 <para>Details on this package are located in
86 <xref linkend="contents-ncurses" role="."/></para>
[81fd230]87
[7b82580]88 </sect2>
89
90</sect1>
Note: See TracBrowser for help on using the repository browser.