ncurses.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  28. href="../chapter06/ncurses.xml"
  29. xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Ncurses</title>
  33. <para>Prepare Ncurses for compilation:</para>
  34. <screen><userinput>./configure --prefix=/tools --with-shared \
  35. --without-debug --without-ada --enable-overwrite</userinput></screen>
  36. <variablelist>
  37. <title>The meaning of the configure options:</title>
  38. <varlistentry>
  39. <term><parameter>--without-ada</parameter></term>
  40. <listitem>
  41. <para>This ensures that Ncurses does not build support for the Ada
  42. compiler which may be present on the host but will not be available
  43. once we enter the <command>chroot</command> environment.</para>
  44. </listitem>
  45. </varlistentry>
  46. <varlistentry>
  47. <term><parameter>--enable-overwrite</parameter></term>
  48. <listitem>
  49. <para>This tells Ncurses to install its header files into
  50. <filename class="directory">/tools/include</filename>, instead of
  51. <filename class="directory">/tools/include/ncurses</filename>, to
  52. ensure that other packages can find the Ncurses headers
  53. successfully.</para>
  54. </listitem>
  55. </varlistentry>
  56. </variablelist>
  57. <para>Compile the package:</para>
  58. <screen><userinput>make</userinput></screen>
  59. <para>This package does not come with a test suite.</para>
  60. <para>Install the package:</para>
  61. <screen><userinput>make install</userinput></screen>
  62. </sect2>
  63. <sect2 role="content">
  64. <title/>
  65. <para>Details on this package are located in
  66. <xref linkend="contents-ncurses" role="."/></para>
  67. </sect2>
  68. </sect1>