REQUIREMENTS to compile GRASS GIS 5.4
A workstation running some flavor of UNIX like Solaris, IRIX, Linux, BSD,
Mac OS X or cygwin (on Win32). Ideally, you should have at least 500 Mb for data
and 32 Mb RAM. The source code package needs around 100 MB uncompressed.
The resulting binaries may need between 80 MB and 180 MB depending on your
platform. During a full compilation you need temporarily 550MB including the
To disable features please read the INSTALL file.
(most tools are standard tools on Linux, for other platforms you may have
to install some of them.)
winGRASS: As alternative a generic MS-Windows driver is under
construction which does not require X11
- Tcl/Tk 8.x libraries (they include 'wish') to use TclTkGRASS Interface and to compile src.contrib/GMSL/NVIZ2.2/
- Mesa-3.x (openGL clone) required for NVIZ2.2
Special compile instructions:
- FFTW 2.x (library for computing the Discrete Fourier Transform) required for
i.fft and i.ifft modules
- LAPACK / BLAS (libraries for numerical computing) required for
GMATH library (GRASS numerical lib)
[http://www.netlib.org/lapack/] (usually on Linux distros)
Note: the support is intended for future module implementations
- libpng (for r.in.png, r.out.png), usually already installed.
- libjpeg (for r.in.tiff, r.out.tiff), usually already installed.
- libtiff (for r.in.tiff, r.out.tiff), usually already installed.
- netpbm-tools/libraries (for r.in.png/r.out.png), usually already installed.
[please look at any decent software mirror near you!]
- PostgreSQL libraries (for the PostgreSQL database interface)
- Unix ODBC (for the ODBC database interface)
- Only required for "xanim" and "ogl3d": the Motif or Lesstif libraries
- r.in.gdal requires GDAL - Geospatial Data Abstraction Library
- R language (for the R language interface)
- FreeType2 (for d.text.freetype)
- PROJ.4 Cartographic Projections Library
GRASS has an internal `private' copy of PROJ.4 contained within the source
tree, based on PROJ.4.4.5 with some bugfixes. Optionally (GRASS version >=
5.3), you may install an
external copy of PROJ.4 and then use the --with-proj configure option to
link against this instead. Advantages: you may save some disk space by using
a shared library, and may be able to use the latest features or take
advantage of bugfixes before they make it into the GRASS copy of PROJ. Note
for GRASS version >= 5.7, an external PROJ.4 library is a mandatory
SUN Solaris users may go here to download precompiled libraries etc.:
SGI IRIX users may go here to download precompiled libraries etc.:
GRASS Development Team 2001-2002
Please report bugs here:
$Id: REQUIREMENTS.html,v 1.10 2005/02/01 12:37:58 markus Exp $