cvs commit: BLFS/BOOK/general/sysutils/gpm gpm-inst.xml

billyoc at linuxfromscratch.org billyoc at linuxfromscratch.org
Tue Jan 21 09:50:25 PST 2003


billyoc     03/01/21 12:50:25

  Modified:    BOOK/general/sysutils/gpm gpm-inst.xml
  Log:
  Added -lm to LDFLAGS
  
  Revision  Changes    Path
  1.2       +15 -1     BLFS/BOOK/general/sysutils/gpm/gpm-inst.xml
  
  Index: gpm-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/general/sysutils/gpm/gpm-inst.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- gpm-inst.xml	7 Jul 2002 20:28:51 -0000	1.1
  +++ gpm-inst.xml	21 Jan 2003 17:50:25 -0000	1.2
  @@ -3,8 +3,22 @@
   
   <para>Install gpm by running the following commands:</para>
   
  -<para><screen><userinput>./configure --prefix=/usr &&
  +<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>
   
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-book' in the subject header of the message



More information about the blfs-book mailing list