lfs/chapter06/ncurses-exp.xml
Timothy Bauscher 60ed866798 Fixed typos, removed old command explanation.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2114 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2002-09-18 18:31:39 +00:00

21 lines
772 B
XML

<sect2>
<title>Command explanations</title>
<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>
<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 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>