ncurses-inst.xml 939 B

1234567891011121314151617181920212223242526272829
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Ncurses</title>
  4. <para>Fix two minor things:</para>
  5. <para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch
  6. patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch</userinput></screen></para>
  7. <para>The first patch corrects the <filename>etip.h</filename> header file, and
  8. the second patch prevents some compiler warnings being issued on the use of
  9. deprecated headers.</para>
  10. <para>Now prepare Ncurses to be compiled:</para>
  11. <para><screen><userinput>./configure --prefix=/stage1 --with-shared \
  12. &nbsp;&nbsp;&nbsp;&nbsp;--without-debug --without-ada</userinput></screen></para>
  13. <para>Compile the programs and libraries:</para>
  14. <para><screen><userinput>make </userinput></screen></para>
  15. <para>Then install them and their documentation:</para>
  16. <para><screen><userinput>make install</userinput></screen></para>
  17. </sect2>