ncurses.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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-system-ncurses" xreflabel="Ncurses" role="wrap">
  7. <title>Ncurses-&ncurses-version;</title>
  8. <?dbhtml filename="ncurses.html"?>
  9. <indexterm zone="ch-system-ncurses"><primary sortas="a-Ncurses">Ncurses</primary></indexterm>
  10. <sect2 role="package"><title/>
  11. <segmentedlist>
  12. <segtitle>&buildtime;</segtitle>
  13. <segtitle>&diskspace;</segtitle>
  14. <seglistitem><seg>0.6 SBU</seg><seg>27 MB</seg></seglistitem>
  15. </segmentedlist>
  16. </sect2>
  17. <sect2 role="installation">
  18. <title>Installation of Ncurses</title>
  19. <para>Prepare Ncurses for compilation:</para>
  20. <screen><userinput>./configure --prefix=/usr --with-shared --without-debug</userinput></screen>
  21. <para>Compile the package:</para>
  22. <screen><userinput>make</userinput></screen>
  23. <para>Install the package:</para>
  24. <screen><userinput>make install</userinput></screen>
  25. <para>Give the Ncurses libraries execute permissions:</para>
  26. <screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen>
  27. <para>Now fix a library:</para>
  28. <screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen>
  29. <para>Move the libraries to the <filename class="directory">/lib</filename> directory:</para>
  30. <screen><userinput>mv /usr/lib/libncurses.so.5* /lib</userinput></screen>
  31. <para>Recreate some symlinks:</para>
  32. <screen><userinput>ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so
  33. ln -sf libncurses.so /usr/lib/libcurses.so</userinput></screen>
  34. </sect2>
  35. <sect2 id="contents-ncurses" role="content"><title>Contents of Ncurses</title>
  36. <para>See testing</para>
  37. </sect2>
  38. </sect1>