2 <title>Command explanations</title>
4 <para><userinput>--with-shared:</userinput> This enables the build of the
5 shared ncurses library files.</para>
7 <para><userinput>--disable-termcap:</userinput> Disabled the compilation of
8 termcap fall back support.</para>
10 <para><userinput>cd /lib && mv *.a /usr/lib :</userinput> This
11 moves all of the static ncurses library files from /lib to /usr/lib.
12 /lib should only contain the shared files which are essential to the
13 system when /usr may not be mounted.</para>
15 <para><userinput>chmod 755 *.5.2:</userinput> Shared libraries should be
16 executable. Ncurses install routine doesn't set the permissions
17 properly so we do it manually instead.</para>
19 <para><userinput>ln -sf libncurses.a libcurses.a:</userinput> Some
20 programs try to link using -lcurses instead of -lncurses. This symlink
21 ensures that such programs will link without errors.</para>
23 <para><userinput>ln -sf ../../lib/libncurses.so etc:</userinput> These
24 symlinks are created to tidy up the installation. It's good practise to
25 have the *.so files in /usr/lib as well as in /lib, to ensure that the
26 linker is always able to find the files whether it's looking in /lib or