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>
|
|
|
|
|
2003-04-08 23:42:15 +08:00
|
|
|
<para><screen><userinput>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
|
2003-04-08 23:42:15 +08:00
|
|
|
logic. LDFLAGS is only needed if you optimize gpm for size.</para>
|
2003-01-22 01:50:25 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|