ncurses.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-tools-ncurses">
  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. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/ncurses.xml" xpointer="xpointer(/sect1/para[1])"/>
  13. <screen>&buildtime; 0.7 SBU
  14. &diskspace; 26 MB</screen>
  15. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/ncurses.xml" xpointer="xpointer(/sect1/para[2])"/>
  16. <sect2>
  17. <title>Installation of Ncurses</title>
  18. <para>Prepare Ncurses for compilation:</para>
  19. <screen><userinput>./configure --prefix=/tools --with-shared \
  20. --without-debug --without-ada --enable-overwrite</userinput></screen>
  21. <para>The meaning of the configure options:</para>
  22. <itemizedlist>
  23. <listitem><para><userinput>--without-ada</userinput>: This tells Ncurses not
  24. to build its Ada bindings, even if an Ada compiler is installed on the host.
  25. This must be done because once we enter the chroot environment, Ada will no
  26. longer be available.</para></listitem>
  27. <listitem><para><userinput>--enable-overwrite</userinput>: This tells Ncurses
  28. to install its header files into <filename class="directory">/tools/include</filename>
  29. instead of <filename class="directory">/tools/include/ncurses</filename> to
  30. ensure that other packages can find the Ncurses headers successfully.</para>
  31. </listitem></itemizedlist>
  32. <para>Compile the programs and libraries:</para>
  33. <screen><userinput>make</userinput></screen>
  34. <para>Then install them and their documentation:</para>
  35. <screen><userinput>make install</userinput></screen>
  36. </sect2>
  37. <sect2><title/>
  38. <para>The details on this package are found in <xref linkend="contents-ncurses"/>.</para>
  39. </sect2>
  40. </sect1>