2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2004-01-27 22:29:49 +00:00
|
|
|
<sect1 id="ch-tools-ncurses">
|
2004-05-03 11:59:46 +01:00
|
|
|
<title>Ncurses-&ncurses-version;</title>
|
|
|
|
<?dbhtml filename="ncurses.html"?>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2004-05-03 11:59:46 +01:00
|
|
|
<indexterm zone="ch-tools-ncurses">
|
|
|
|
<primary sortas="a-Ncurses">Ncurses</primary>
|
|
|
|
<secondary>tools</secondary></indexterm>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2004-05-03 11:59:46 +01:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/ncurses.xml" xpointer="xpointer(/sect1/para[1])"/>
|
|
|
|
|
|
|
|
<screen>&buildtime; 0.7 SBU
|
|
|
|
&diskspace; 26 MB</screen>
|
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/ncurses.xml" xpointer="xpointer(/sect1/para[2])"/>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of Ncurses</title>
|
|
|
|
|
2004-02-15 10:48:22 +00:00
|
|
|
<para>Prepare Ncurses for compilation:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<screen><userinput>./configure --prefix=/tools --with-shared \
|
2004-05-03 11:59:46 +01:00
|
|
|
--without-debug --without-ada --enable-overwrite</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<para>The meaning of the configure options:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para><userinput>--without-ada</userinput>: This tells Ncurses not
|
|
|
|
to build its Ada bindings, even if an Ada compiler is installed on the host.
|
|
|
|
This must be done because once we enter the chroot environment, Ada will no
|
|
|
|
longer be available.</para></listitem>
|
|
|
|
|
|
|
|
<listitem><para><userinput>--enable-overwrite</userinput>: This tells Ncurses
|
|
|
|
to install its header files into <filename class="directory">/tools/include</filename>
|
|
|
|
instead of <filename class="directory">/tools/include/ncurses</filename> to
|
|
|
|
ensure that other packages can find the Ncurses headers successfully.</para>
|
|
|
|
</listitem></itemizedlist>
|
|
|
|
|
|
|
|
<para>Compile the programs and libraries:</para>
|
|
|
|
|
2003-12-22 09:32:12 +00:00
|
|
|
<screen><userinput>make</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<para>Then install them and their documentation:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2004-05-08 15:30:32 +01:00
|
|
|
<sect2><title/>
|
2004-01-12 23:23:50 +00:00
|
|
|
<para>The details on this package are found in <xref linkend="contents-ncurses"/>.</para>
|
2004-05-08 15:30:32 +01:00
|
|
|
</sect2>
|
2004-01-12 23:23:50 +00:00
|
|
|
|
2003-05-02 19:20:20 +01:00
|
|
|
</sect1>
|