ncurses-exp.xml 1012 B

12345678910111213141516171819202122232425
  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>mv /lib/*.a /usr/lib :</userinput> This
  9. moves all of the static ncurses library files from /lib to /usr/lib.
  10. /lib should only contain the shared files which are essential to the
  11. system when /usr may not be mounted.</para>
  12. <para><userinput>chmod 755 *.5.2:</userinput> Shared libraries should be
  13. executable. Ncurses install routine doesn't set the permissions
  14. properly so we do it manually instead.</para>
  15. <para><userinput>ln -sf libncurses.a libcurses.a:</userinput> Some
  16. programs try to link using -lcurses instead of -lncurses. This symlink
  17. ensures that such programs will link without errors.</para>
  18. </sect2>