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

sysvinit
Last change on this file since a4615d8 was b27081c4, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

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