ncurses.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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 tells Ncurses not to build its Ada bindings, even
  33. if an Ada compiler is installed on the host. This needs to be done
  34. because once we enter the chroot environment, Ada will no longer be
  35. available.</para></listitem>
  36. </varlistentry>
  37. <varlistentry>
  38. <term><parameter>--enable-overwrite</parameter></term>
  39. <listitem><para>This tells Ncurses to install its header files into
  40. <filename class="directory">/tools/include</filename>, instead of
  41. <filename class="directory">/tools/include/ncurses</filename>, to
  42. ensure that other packages can find the Ncurses headers
  43. successfully.</para></listitem>
  44. </varlistentry>
  45. </variablelist>
  46. <para>Compile the package:</para>
  47. <screen><userinput>make</userinput></screen>
  48. <para>This package does not come with a test suite.</para>
  49. <para>Install the package:</para>
  50. <screen><userinput>make install</userinput></screen>
  51. </sect2>
  52. <sect2 role="content"><title/>
  53. <para>Details on this package are located in <xref
  54. linkend="contents-ncurses" role="."/></para>
  55. </sect2>
  56. </sect1>