ncurses.xml 2.5 KB

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