source: BOOK/temp-system/native/ncurses.xml@ c4f3a6d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c4f3a6d was 43f755b, checked in by Jim Gifford <clfs@…>, 16 years ago

Creating of CLFS Native Structure

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