ncurses.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. <!ENTITY % patches-entities SYSTEM "../patches.ent">
  5. %general-entities;
  6. %patches-entities;
  7. ]>
  8. <sect1 id="ch-tools-ncurses" role="wrap">
  9. <title>Ncurses-&ncurses-version;</title>
  10. <?dbhtml filename="ncurses.html"?>
  11. <indexterm zone="ch-tools-ncurses">
  12. <primary sortas="a-Ncurses">Ncurses</primary>
  13. <secondary>tools</secondary></indexterm>
  14. <sect2 role="package"><title/>
  15. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/ncurses.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
  16. <segmentedlist>
  17. <segtitle>&buildtime;</segtitle>
  18. <segtitle>&diskspace;</segtitle>
  19. <seglistitem><seg>0.7 SBU</seg><seg>27.5 MB</seg></seglistitem>
  20. </segmentedlist>
  21. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/ncurses.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
  22. </sect2>
  23. <sect2 role="installation">
  24. <title>Installation of Ncurses</title>
  25. <para>Prepare Ncurses for compilation:</para>
  26. <screen><userinput>./configure --prefix=/tools --with-shared \
  27. --without-debug --without-ada --enable-overwrite</userinput></screen>
  28. <para>The meaning of the configure options:</para>
  29. <variablelist>
  30. <varlistentry>
  31. <term><parameter>--without-ada</parameter></term>
  32. <listitem><para>This ensures that Ncurses does not build support for the Ada
  33. compiler which may be present on the host but will not be available once we
  34. enter the <command>chroot</command> environment.</para></listitem>
  35. </varlistentry>
  36. <varlistentry>
  37. <term><parameter>--enable-overwrite</parameter></term>
  38. <listitem><para>This tells Ncurses to install its header files into
  39. <filename class="directory">/tools/include</filename>, instead of
  40. <filename class="directory">/tools/include/ncurses</filename>, to
  41. ensure that other packages can find the Ncurses headers
  42. successfully.</para></listitem>
  43. </varlistentry>
  44. </variablelist>
  45. <para>Compile the package:</para>
  46. <screen><userinput>make</userinput></screen>
  47. <para>This package does not come with a test suite.</para>
  48. <para>Install the package:</para>
  49. <screen><userinput>make install</userinput></screen>
  50. </sect2>
  51. <sect2 role="content"><title/>
  52. <para>Details on this package are located in <xref
  53. linkend="contents-ncurses" role="."/></para>
  54. </sect2>
  55. </sect1>