source: BOOK/temp-system/common/ncurses.xml@ 3f2c36d

Last change on this file since 3f2c36d was dabbced, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Change the XInclude schema path from 2003 to 2001. 2003 is depreciated
according to w3.org and 2001 should be used instead.

  • Property mode set to 100644
File size: 3.6 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-temp-system-ncurses" role="wrap">
9 <?dbhtml filename="ncurses.html"?>
10
11 <title>Ncurses-&ncurses-version;</title>
12
13 <indexterm zone="ch-temp-system-ncurses">
14 <primary sortas="a-Ncurses">Ncurses</primary>
15 <secondary>temporary system</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
19 href="../../final-system/common/ncurses.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Ncurses</title>
24
25 <para os="p1">The following patch fixes an issue with some Bash versions:</para>
26
27<screen os="p2"><userinput>patch -Np1 -i ../&ncurses-bashfix-patch;</userinput></screen>
28
29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
30 href="../../final-system/common/ncurses.xml"
31 xpointer="xpointer(//*[@os='a'])"/>
32
33<screen os="b"><userinput>./configure --prefix=/tools --with-shared \
34 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
35 --without-debug --without-ada \
36 --enable-overwrite --with-build-cc=gcc</userinput></screen>
37
38 <variablelist os="c">
39 <title>The meaning of the configure options:</title>
40
41 <varlistentry>
42 <term><parameter>--with-shared</parameter></term>
43 <listitem>
44 <para>This tells Ncurses to create a shared library.</para>
45 </listitem>
46 </varlistentry>
47
48 <varlistentry>
49 <term><parameter>--without-debug</parameter></term>
50 <listitem>
51 <para>This tells Ncurses not to build with debug information.</para>
52 </listitem>
53 </varlistentry>
54
55 <varlistentry>
56 <term><parameter>--without-ada</parameter></term>
57 <listitem>
58 <para>This ensures that Ncurses does not build support for the
59 Ada compiler which may be present on the host but will not be
60 available when building the final system.</para>
61 </listitem>
62 </varlistentry>
63
64 <varlistentry>
65 <term><parameter>--enable-overwrite</parameter></term>
66 <listitem>
67 <para>This tells Ncurses to install its header files into
68 <filename class="directory">/tools/include</filename>, instead of
69 <filename class="directory">/tools/include/ncurses</filename>, to
70 ensure that other packages can find the Ncurses headers
71 successfully.</para>
72 </listitem>
73 </varlistentry>
74
75 <varlistentry>
76 <term><parameter>--with-build-cc=gcc</parameter></term>
77 <listitem>
78 <para>This tells Ncurses what type of compiler we are using.</para>
79 </listitem>
80 </varlistentry>
81
82 </variablelist>
83
84 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
85 href="../../final-system/common/ncurses.xml"
86 xpointer="xpointer(//*[@os='c'])"/>
87
88 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
89 href="../../final-system/common/ncurses.xml"
90 xpointer="xpointer(//*[@os='d'])"/>
91
92 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
93 href="../../final-system/common/ncurses.xml"
94 xpointer="xpointer(//*[@os='f'])"/>
95
96 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
97 href="../../final-system/common/ncurses.xml"
98 xpointer="xpointer(//*[@os='g'])"/>
99
100 </sect2>
101
102 <sect2 role="content">
103 <title/>
104
105 <para>Details on this package are located in <xref
106 linkend="contents-ncurses" role="."/></para>
107
108 </sect2>
109
110</sect1>
Note: See TracBrowser for help on using the repository browser.