blob: fe4ee321b769b6e7d290c64d2c699fdb830cfa29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<sect2>
<title>Command explanations</title>
<para><userinput>--with-shared:</userinput> This enables the build of the
shared ncurses library files.</para>
<para><userinput>--disable-termcap:</userinput> Disabled the compilation of
termcap fall back support.</para>
<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
properly so we do it manaully instead.</para>
<para><userinput>ln -sf libncurses.a libcurses.a:</userinput> Some
programs try to link using -lcurses instead of -lncurses. This symlink
ensures that they will install correctly.</para>
<para><userinput>ln -sf ../../lib/libncurses.so:</userinput> This link
is created because if it isn't, the linker will not find the dynamic
library when linking and so link all programs with the static ncurses
library.</para>
</sect2>
|