ncurses-inst.xml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Ncurses</title>
  4. <para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch</userinput></screen></para>
  5. <para>Prepare Ncurses to be compiled:</para>
  6. <para><screen><userinput>./configure --prefix=/usr --with-shared &amp;&amp;
  7. &nbsp;&nbsp;&nbsp;&nbsp;--without-debug</userinput></screen></para>
  8. <para>Continue with compiling the package:</para>
  9. <para><screen><userinput>make</userinput></screen></para>
  10. <para>Install the package:</para>
  11. <para><screen><userinput>make install</userinput></screen></para>
  12. <para>Give the ncurses libraries executable permission:</para>
  13. <para><screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen></para>
  14. <para>Move the libraries to the <filename>/lib</filename> directory,
  15. where they're expected to reside:</para>
  16. <para><screen><userinput>mv /usr/lib/libncurses.so.5* /lib</userinput></screen></para>
  17. <para>Since the libraries have been moved to
  18. <filename>/lib</filename>, a few symlinks are currently pointing
  19. towards non-existing files. Recreate those symlinks:</para>
  20. <para><screen><userinput>ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so &amp;&amp;
  21. ln -sf libncurses.so /usr/lib/libcurses.so</userinput></screen></para>
  22. </sect2>