ncurses.xml 2.3 KB

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