Compiling extra modules for GRASS GIS

Requirements: You need the source code package
compiled before you can compile further extra
modules!


To compile extra modules (e.g. from untested section) you
have to perform two steps:


1. Enter the directory of the module where the Gmakefile is
   stored. If there are several Gmakefiles, enter the 
   "root directory" of this module.

   E.g.
     
   cd src.alpha/vector/v.in.shape
    
   The Gmakefile should be here.
    
1. Say
     gmake4.2
   there.

   If you are using GRASS 5.x, say
     gmake5

   The module will be compiled now. The GRASS libraries
   must have been compiled before. If not, you have to compile
   the GRASS package first. 

   If you should receive a compiling error, fix it and say 
     gmake4.2 
   again.

2. Now you have to include the module into the GRASS
   binary tree by using the script MAKELINKS.my.

  GRASS 4.x:

   You find this script in
 
    src421/src/CMD/

   Go there and say
    MAKELINKS.my

  GRASS 5.x:
   Just say 
     gmakelinks5
   anywhere.

  The script will create links for all modules again
  including you new module.

  That is all... Start GRASS and use the new module.


Back to GRASS GIS pages
Markus Neteler