ncurses-exp.xml 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <sect2>
  2. <title>Command explanations</title>
  3. <para><userinput>--with-shared:</userinput> This enables the build of the
  4. shared ncurses library files.</para>
  5. <para><userinput>--disable-termcap:</userinput> Disabled the compilation of
  6. termcap fall back support.</para>
  7. <para><userinput>cd /lib &amp;&amp; mv *.a /usr/lib :</userinput> This
  8. moves all of the static ncurses library files from /lib to /usr/lib.
  9. /lib should only contain the shared files which are essential to the
  10. system when /usr may not be mounted.</para>
  11. <para><userinput>chmod 755 *.5.2:</userinput> Shared libraries should be
  12. executable. Ncurses install routine doesn't set the permissions
  13. properly so we do it manaully instead.</para>
  14. <para><userinput>ln -sf libncurses.a libcurses.a:</userinput> Some
  15. programs try to link using -lcurses instead of -lncurses. This symlink
  16. ensures that such programs will link without errors.</para>
  17. <para><userinput>ln -sf ../../lib/libncurses.so etc:</userinput> These
  18. links are created because if they aren't, the linker will not find the
  19. dynamic libraries when linking and so link all programs with the static
  20. versions.</para>
  21. </sect2>