2002-03-20 23:31:55 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
2002-10-07 16:04:19 +00:00
|
|
|
<para><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-patch:</userinput>
|
|
|
|
This patch fixes a compile problem with GCC-3.2 because Ncurses uses
|
|
|
|
constructions that are no longer valid in the new C++ standard.</para>
|
|
|
|
|
2002-03-20 23:31:55 +00:00
|
|
|
<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
|
2002-10-07 16:04:19 +00:00
|
|
|
executable. Ncurses's install routine doesn't set the permissions
|
2002-03-20 23:31:55 +00:00
|
|
|
properly so we do it manually instead.</para>
|
|
|
|
|
|
|
|
<para><userinput>ln -sf libncurses.a libcurses.a:</userinput> Some
|
2002-10-07 16:04:19 +00:00
|
|
|
programs try to link using -lcurses instead of -lncurses. This symlink
|
2002-03-20 23:31:55 +00:00
|
|
|
ensures that such programs will link without errors.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|