ncurses-exp.xml 826 B

123456789101112131415161718192021
  1. <sect2>
  2. <title>Command explanations</title>
  3. <para><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-patch:</userinput>
  4. This patch fixes a compile problem with GCC-3.2 because Ncurses uses
  5. constructions that are not valid in ANSI C++ and don't compile with
  6. recent GCC versions that conform to the standard.</para>
  7. <para><userinput>--with-shared:</userinput> This enables the build of the
  8. shared ncurses library files.</para>
  9. <para><userinput>chmod 755 *.5.2:</userinput> Shared libraries should be
  10. executable. Ncurses's install routine doesn't set the permissions
  11. properly so we do it manually instead.</para>
  12. <para><userinput>ln -sf libncurses.a libcurses.a:</userinput> Some
  13. programs try to link using -lcurses instead of -lncurses. This symlink
  14. ensures that such programs will link without errors.</para>
  15. </sect2>