ncurses-exp.xml 772 B

1234567891011121314151617181920
  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 no longer valid in the new C++ standard.</para>
  6. <para><userinput>--with-shared:</userinput> This enables the build of the
  7. shared ncurses library files.</para>
  8. <para><userinput>chmod 755 *.5.2:</userinput> Shared libraries should be
  9. executable. Ncurses's install routine doesn't set the permissions
  10. properly so we do it manually instead.</para>
  11. <para><userinput>ln -sf libncurses.a libcurses.a:</userinput> Some
  12. programs try to link using -lcurses instead of -lncurses. This symlink
  13. ensures that such programs will link without errors.</para>
  14. </sect2>