2002-07-08 04:28:42 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of gpm</title>
|
|
|
|
|
|
|
|
<para>Install gpm by running the following commands:</para>
|
|
|
|
|
2003-01-22 01:50:25 +08:00
|
|
|
<note><para>The LDFLAGS environment variable must be set before
|
|
|
|
configuring gpm.</para></note>
|
|
|
|
|
|
|
|
<para><screen><userinput>export LDFLAGS="-lm" &&
|
|
|
|
./configure --prefix=/usr &&
|
2002-07-08 04:28:42 +08:00
|
|
|
make &&
|
|
|
|
make install</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|
|
|
2003-01-22 01:50:25 +08:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|