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