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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8ba5b4d was 55d273f, checked in by Jim Gifford <clfs@…>, 18 years ago

Fix a building of Ncurses when an unpatched version of Bash 3.x is used

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