2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para><userinput>--with-shared:</userinput> This enables the build of the
|
|
|
|
shared ncurses library files.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para><userinput>--disable-termcap:</userinput> Disabled the compilation of
|
|
|
|
termcap fall back support.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-08-25 19:08:36 +01:00
|
|
|
<para><userinput>cd /lib && mv *.a /usr/lib :</userinput> This
|
|
|
|
moves all of the static ncurses library files from /lib to /usr/lib.
|
|
|
|
/lib should only contain the shared files which are essential to the
|
|
|
|
system when /usr may not be mounted.</para>
|
|
|
|
|
|
|
|
<para><userinput>chmod 755 *.5.2:</userinput> Shared libraries should be
|
|
|
|
executable. Ncurses install routine doesn't set the permissions
|
2001-10-24 11:20:53 +01:00
|
|
|
properly so we do it manually instead.</para>
|
2001-08-25 19:08:36 +01:00
|
|
|
|
|
|
|
<para><userinput>ln -sf libncurses.a libcurses.a:</userinput> Some
|
|
|
|
programs try to link using -lcurses instead of -lncurses. This symlink
|
2001-08-29 20:29:31 +01:00
|
|
|
ensures that such programs will link without errors.</para>
|
2001-08-25 19:08:36 +01:00
|
|
|
|
2001-08-25 20:35:12 +01:00
|
|
|
<para><userinput>ln -sf ../../lib/libncurses.so etc:</userinput> These
|
2002-01-25 17:57:06 +00:00
|
|
|
symlinks are created so the linker will use the dynamic versions of these
|
|
|
|
libraries instead of the static ones, which happens if the linker can't
|
|
|
|
find the dynamic versions.</para>
|
2001-08-25 19:14:53 +01:00
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect2>
|
|
|
|
|