diff --git a/general/sysutils/gpm/gpm-inst.xml b/general/sysutils/gpm/gpm-inst.xml
index bc4ee88920..c56e473a0f 100644
--- a/general/sysutils/gpm/gpm-inst.xml
+++ b/general/sysutils/gpm/gpm-inst.xml
@@ -3,8 +3,22 @@
Install gpm by running the following commands:
-./configure --prefix=/usr &&
+The LDFLAGS environment variable must be set before
+ configuring gpm.
+
+export LDFLAGS="-lm" &&
+./configure --prefix=/usr &&
make &&
make install
+
+
+Command explanations
+
+export LDFLAGS="-lm": The math library
+ must be linked with gpm, as ceil() is used in some cursor scrolling
+ logic.
+
+
+