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

systemd
Last change on this file since f6dd7fa was 917647cd, checked in by Chris Staub <chris@…>, 9 years ago

Updated command explanations for several packages

  • Property mode set to 100644
File size: 3.5 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]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
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[d0c5f50]19 href="../../final-system/common/ncurses.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of Ncurses</title>
24
[21f0998]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
[ee09899c]28 <para os="p1">The following patch fixes an issue with some Bash versions:</para>
[55d273f]29
[ee09899c]30<screen os="p2"><userinput>patch -Np1 -i ../&ncurses-bashfix-patch;</userinput></screen>
[55d273f]31
[dabbced]32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]33 href="../../final-system/common/ncurses.xml"
34 xpointer="xpointer(//*[@os='a'])"/>
35
[dd618bf]36<screen os="b"><userinput>./configure --prefix=/tools --with-shared \
[07114c98]37 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
[528da83]38 --without-debug --without-ada \
[c3ed84c]39 --enable-overwrite --with-build-cc=gcc</userinput></screen>
[3f8be484]40
[dd618bf]41 <variablelist os="c">
[73bd39d]42 <title>The meaning of the new configure options:</title>
[3f8be484]43
44 <varlistentry>
45 <term><parameter>--with-shared</parameter></term>
46 <listitem>
[43f3140]47 <para>This tells Ncurses to create a shared library.</para>
[3f8be484]48 </listitem>
49 </varlistentry>
50
51 <varlistentry>
52 <term><parameter>--without-ada</parameter></term>
53 <listitem>
54 <para>This ensures that Ncurses does not build support for the
55 Ada compiler which may be present on the host but will not be
56 available when building the final system.</para>
57 </listitem>
58 </varlistentry>
59
60 <varlistentry>
61 <term><parameter>--enable-overwrite</parameter></term>
62 <listitem>
63 <para>This tells Ncurses to install its header files into
64 <filename class="directory">/tools/include</filename>, instead of
65 <filename class="directory">/tools/include/ncurses</filename>, to
66 ensure that other packages can find the Ncurses headers
67 successfully.</para>
68 </listitem>
69 </varlistentry>
70
71 <varlistentry>
72 <term><parameter>--with-build-cc=gcc</parameter></term>
73 <listitem>
[ab22f1b]74 <para>This tells Ncurses which compiler to use to build native tools
75 when cross-compiling.</para>
[3f8be484]76 </listitem>
77 </varlistentry>
78
79 </variablelist>
80
[dabbced]81 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]82 href="../../final-system/common/ncurses.xml"
[dd618bf]83 xpointer="xpointer(//*[@os='c'])"/>
[3f8be484]84
[dabbced]85 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]86 href="../../final-system/common/ncurses.xml"
[dd618bf]87 xpointer="xpointer(//*[@os='d'])"/>
[3f8be484]88
[dabbced]89 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]90 href="../../final-system/common/ncurses.xml"
[dd618bf]91 xpointer="xpointer(//*[@os='f'])"/>
[3f8be484]92
[dabbced]93 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[bc2e3fa]94 href="../../final-system/common/ncurses.xml"
95 xpointer="xpointer(//*[@os='g'])"/>
[3f8be484]96
97 </sect2>
98
99 <sect2 role="content">
100 <title/>
101
102 <para>Details on this package are located in <xref
103 linkend="contents-ncurses" role="."/></para>
104
105 </sect2>
106
107</sect1>
Note: See TracBrowser for help on using the repository browser.