2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
2002-09-12 18:39:25 +01: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-05-27 04:17:49 +01:00
|
|
|
|
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-08-25 19:08:36 +01:00
|
|
|
<para><userinput>chmod 755 *.5.2:</userinput> Shared libraries should be
|
2002-09-28 22:08:29 +01:00
|
|
|
executable. Ncurses's 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
|
2002-09-28 22:08:29 +01:00
|
|
|
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-01-24 00:31:17 +00:00
|
|
|
</sect2>
|
|
|
|
|