aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/ncurses-exp.xml
blob: 8885c403ffe9acb0cd2b58c55a142c685217030a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<sect2>
<title>Command explanations</title>

<para><userinput>--with-shared:</userinput> This enables the build of the
shared ncurses library files.</para>

<para><userinput>chmod 755 *.5.2:</userinput> Shared libraries should be
executable. Ncurses's install routine doesn't set the permissions
properly so we do it manually 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 such programs will link without errors.</para>

</sect2>