Changes between Initial Version and Version 1 of GRASS


Ignore:
Timestamp:
May 18, 2007, 3:00:06 PM (17 years ago)
Author:
Mateusz Łoskot
Comment:

Started GRASS building wiki page

Legend:

Unmodified
Added
Removed
Modified
  • GRASS

    v1 v1  
     1= GRASS =
     2
     3The GRASS support can be added to GDAL in two ways:
     4 * as a built-in GRASS driver
     5 * as a loadable GRASS driver plugin
     6
     7'''Note, following instructions apply to Linux and other environments where GNU autotools are available (autoconf, automake, make).'''
     8
     9== Building GDAL with built-in GRASS driver ==
     10
     11 * Download and install [http://grass.itc.it/ GRASS] together with development files (headers and libraries). The easiest option is to use binary packages prepared for your Linux distribution.
     12
     13 * Download latest [wiki:DownloadSource#PackagedSource stable] or [wiki:DownloadSource#Subversion development] version of GDAL sources:
     14
     15{{{
     16tar -zxf gdal-1.4.1.tar.gz
     17cd gdal-1.4.1
     18}}}
     19
     20 * Configure GDAL sources with GRASS support included:
     21
     22{{{
     23./configure --with-grass=/usr/lib/grass
     24}}}
     25
     26   and after ./configure finishes its job, you should see the GRASS driver enabled in the summary, like here:
     27
     28{{{
     29GDAL is now configured for i686-pc-linux-gnu
     30
     31  Installation directory:    /usr/local
     32  C compiler:                gcc -O2
     33  C++ compiler:              g++ -O2
     34
     35  LIBTOOL support:           yes
     36
     37  LIBZ support:              external
     38  GRASS support:             grass57+
     39...
     40}}}
     41
     42== Building GDAL and GRASS driver plugin ==
     43
     44''TBD''