ncurses.xml 2.3 KB

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