mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-07 09:37:17 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@615 af4574ff-66df-0310-9fd7-8a98e5e911e0
25 lines
579 B
XML
25 lines
579 B
XML
<sect2>
|
|
<title>Installation of gpm</title>
|
|
|
|
<para>Install gpm by running the following commands:</para>
|
|
|
|
<note><para>The LDFLAGS environment variable must be set before
|
|
configuring gpm.</para></note>
|
|
|
|
<para><screen><userinput>export LDFLAGS="-lm" &&
|
|
./configure --prefix=/usr &&
|
|
make &&
|
|
make install</userinput></screen></para>
|
|
</sect2>
|
|
|
|
|
|
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><userinput>export LDFLAGS="-lm": </userinput>The math library
|
|
must be linked with gpm, as ceil() is used in some cursor scrolling
|
|
logic.</para>
|
|
|
|
</sect2>
|
|
|