215 lines
7.8 KiB
HTML
215 lines
7.8 KiB
HTML
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<title>REQUIREMENTS to compile GRASS GIS 7</title>
|
|
<link rel="stylesheet" href="grassdocs.css" type="text/css">
|
|
</head>
|
|
<body bgcolor="#FFFFFF">
|
|
|
|
<h2>REQUIREMENTS to compile GRASS GIS 7</h2>
|
|
|
|
A workstation running some flavor of UNIX like Solaris, IRIX,
|
|
GNU/Linux, BSD, Mac OS X, Cygwin or MinGW (on Win32). Ideally, you
|
|
should have at least 500 Mb. The source code package needs around 80
|
|
MB compressed. The resulting binaries may need between 20 MB and 180
|
|
MB depending on your platform. During a full compilation you may need
|
|
temporarily up to 550MB including the source code.
|
|
<p>
|
|
To disable features please read the <a href="INSTALL">INSTALL</a> file.
|
|
|
|
<h3>General requirements:</h3>
|
|
|
|
(most tools are standard tools on GNU/Linux, for other platforms you may have
|
|
to install some of them.)
|
|
|
|
<ul>
|
|
<li><b>C-compiler</b> (cc, gcc, egcs, ...)
|
|
<br>gcc: <a href="http://www.gnu.org/software/gcc/gcc.html">http://www.gnu.org/software/gcc/gcc.html</a>
|
|
</li>
|
|
|
|
<li><b>GNU make</b> is recommended (at least version 3.81)
|
|
<br><a href="http://www.gnu.org/software/make/make.html">http://www.gnu.org/software/make/make.html</a>
|
|
</li>
|
|
|
|
<li><b>zlib</b> compression library (already installed on most modern systems)
|
|
<br>It is used to internally compress GRASS raster maps.
|
|
<br>libz: <a href="http://www.zlib.net">http://www.zlib.net</a>
|
|
</li>
|
|
|
|
<li><b>flex</b> lexical analyzer generator (flex)
|
|
<br>Note: lex is no longer supported, please use flex instead.
|
|
<br>flex: <a href="http://www.gnu.org/software/flex/flex.html">http://www.gnu.org/software/flex/flex.html</a>
|
|
</li>
|
|
|
|
<li><b>parser generator</b> (yacc, bison)
|
|
<br>bison: <a href="http://www.gnu.org/software/bison/bison.html">http://www.gnu.org/software/bison/bison.html</a>
|
|
</li>
|
|
|
|
<li><b>PROJ4</b> - Cartographic Projection Library<br>
|
|
<a href="http://trac.osgeo.org/proj">http://trac.osgeo.org/proj</a>
|
|
</li>
|
|
|
|
<li><b>GDAL/OGR</b> for import and export of most external raster and vector
|
|
map formats<br>
|
|
<a href="http://gdal.org">http://gdal.org</a>
|
|
</li>
|
|
|
|
<li><b>Python >= 2.6</b> (for temporal framework, scripts, wxGUI, and ctypes interface)<br>
|
|
<i>Note:</i> Python 3 support is still in development<br>
|
|
<a href="http://www.python.org">http://www.python.org</a>
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<h3>Optional requirements:</h3>
|
|
|
|
Note: also the respective xxx-dev or xxx-devel packages need to be installed.
|
|
|
|
<ul>
|
|
|
|
<li><b>C++ Compiler</b> (required for the various C++ GRASS module)<br>
|
|
gcc: <a href="http://www.gnu.org/software/gcc/gcc.html">http://www.gnu.org/software/gcc/gcc.html</a>
|
|
</li>
|
|
|
|
<li><b>FFTW 2.x or 3.x</b> (library for computing the Discrete Fourier Transform), required
|
|
for i.fft and i.ifft and other modules<br>
|
|
<a href="http://www.fftw.org">http://www.fftw.org</a>
|
|
</li>
|
|
|
|
<li><b>GEOS</b> (Geometry Engine library), needed for v.buffer and adds extended options
|
|
to the v.select module<br>
|
|
<a href="http://trac.osgeo.org/geos">http://trac.osgeo.org/geos</a>
|
|
</li>
|
|
|
|
<li><b>LAPACK / BLAS</b> (libraries for numerical computing) for GMATH library (GRASS Numerical Library)<br>
|
|
<a href="http://www.netlib.org/lapack">http://www.netlib.org/lapack</a> (usually available on Linux distros)
|
|
<br>
|
|
<i>Note:</i> LAPACK/BLAS support is at time only needed for selected Addons
|
|
|
|
<li><b>NetCDF</b> (for 3D raster netcdf export)<br>
|
|
<a href="http://www.unidata.ucar.edu/software/netcdf/">http://www.unidata.ucar.edu/software/netcdf/</a>
|
|
</li>
|
|
|
|
<li>If hardware openGL support is missing in the X
|
|
Server, <b>Mesa-3.x</b> (openGL clone) may be required for wxNVIZ<br>
|
|
<a href="http://mesa3d.sourceforge.net">http://mesa3d.sourceforge.net</a>
|
|
</li>
|
|
|
|
<li><b>libpng</b> (for r.out.png and the PNG driver), usually already installed.<br>
|
|
<a href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</a>
|
|
</li>
|
|
|
|
<li><b>libtiff</b> (for r.out.tiff), usually already installed.<br>
|
|
<a href="http://www.remotesensing.org/libtiff">http://www.remotesensing.org/libtiff</a>
|
|
</li>
|
|
|
|
<li><b>readline</b> for extra command prompt functionality
|
|
<br><a href="http://tiswww.case.edu/~chet/readline/rltop.html">http://tiswww.case.edu/~chet/readline/rltop.html</a>
|
|
<br><a href="ftp://ftp.gnu.org/gnu/readline">ftp://ftp.gnu.org/gnu/readline</a>
|
|
</li>
|
|
|
|
<li><b>PostgreSQL libraries</b> (for the PostgreSQL database interface and PostGIS support)<br>
|
|
<a href="http://www.postgresql.org">http://www.postgresql.org</a>
|
|
</li>
|
|
|
|
<li><b>MySQL libraries</b> (for the MySQL database interface)<br>
|
|
<a href="http://www.mysql.org">http://www.mysql.org</a>
|
|
</li>
|
|
|
|
<li><b>SQLite libraries</b> (for the SQLite database interface)<br>
|
|
<a href="http://www.sqlite.org">http://www.sqlite.org</a>
|
|
</li>
|
|
|
|
<li><b>unixODBC</b> (for the ODBC database interface)<br>
|
|
<a href="http://www.unixodbc.org">http://www.unixodbc.org</a>
|
|
</li>
|
|
|
|
<li><b>R Statistics</b> (for the R statistical language interface)<br>
|
|
<a href="http://cran.r-project.org">http://cran.r-project.org</a>
|
|
</li>
|
|
|
|
<li><b>FreeType2</b> (for TrueType font support and d.text.freetype)<br>
|
|
<a href="http://freetype.sourceforge.net">http://freetype.sourceforge.net</a>
|
|
</li>
|
|
|
|
<li><b>Ctypes</b> (for ctypes interface)<br>
|
|
Ctypes can be added as a third-party module in Python 2.3 and 2.4
|
|
- <a href="http://pypi.python.org/pypi/ctypes/1.0.2">http://pypi.python.org/pypi/ctypes/1.0.2</a><br>
|
|
<a href="http://docs.python.org/library/ctypes.html">http://docs.python.org/library/ctypes.html</a>
|
|
</li>
|
|
|
|
<li><b>wxPython >= 2.8.10.1</b> (for wxGUI)<br>
|
|
<a href="http://www.wxpython.org">http://www.wxpython.org</a>
|
|
</li>
|
|
|
|
<li><b>NumPy >= 1.0.4</b> (for various wxGUI components and pyGRASS)<br>
|
|
<a href="http://numpy.org">http://numpy.org</a>
|
|
</li>
|
|
|
|
<li><b>Python dateutil Library</b> ("python-dateutil", needed for the tgrass modules t.*)<br>
|
|
<a href="http://labix.org/python-dateutil">http://labix.org/python-dateutil</a>
|
|
</li>
|
|
|
|
<li><b>Python PLY Library (Python Lex-Yacc)</b> ("python-ply", needed for the temporal algebra in tgis)<br>
|
|
<a href="http://www.dabeaz.com/ply">http://www.dabeaz.com/ply</a>
|
|
</li>
|
|
|
|
<li><b>Python Imaging Library or PILLOW</b> (highly recommended for wxGUI and necessary for wxGUI Cartographic Composer)<br>
|
|
<a href="http://www.pythonware.com/products/pil">http://www.pythonware.com/products/pil</a>,
|
|
a newer version is "python-pillow"
|
|
</li>
|
|
|
|
<li><b>Python matplotlib > 1.2</b> ("python-matplotlib", needed for the several wxGUI tools)<br>
|
|
<a href="http://matplotlib.org/">http://matplotlib.org/</a>
|
|
</li>
|
|
|
|
<li><b>python-termcolor</b> (recommended for g.search.modules)<br>
|
|
<a href="https://pypi.python.org/pypi/termcolor">https://pypi.python.org/pypi/termcolor</a>
|
|
</li>
|
|
|
|
<li><b>FFMPEG or alternative</b> (for wxGUI Animation tool - g.gui.module),
|
|
specifically ffmpeg tool<br>
|
|
<a href="http://ffmpeg.org">http://ffmpeg.org</a>
|
|
</li>
|
|
|
|
<li><b>mpeg_encode or ppmtompeg tool</b> (for r.out.mpeg module)<br>
|
|
<a href="http://ffmpeg.org">http://ffmpeg.org</a>
|
|
</li>
|
|
|
|
<li><b>Cairo >= 1.5.8</b> (for Cairo driver)<br>
|
|
<a href="http://cairographics.org">http://cairographics.org</a>
|
|
</li>
|
|
|
|
<li><b>AVCE00 and E00Compr Libraries</b> (avcimport)<br>
|
|
<a href="http://avce00.maptools.org">http://avce00.maptools.org</a>
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
<h3>Note:</h3>
|
|
|
|
SUN Solaris users may go here to download precompiled libraries etc.:
|
|
<br><a href="http://www.sunfreeware.com">http://www.sunfreeware.com</a>
|
|
|
|
<p>
|
|
SGI IRIX users may go here to download precompiled libraries etc.:
|
|
<br><a href="http://freeware.sgi.com">http://freeware.sgi.com</a>
|
|
|
|
<p>
|
|
MacOSX users may go here to download precompiled libraries etc.:
|
|
<br><a href="http://fink.sourceforge.net">http://fink.sourceforge.net</a>
|
|
|
|
<p>
|
|
|
|
<hr width="100%">
|
|
<i>© GRASS Development Team 2001-2016</i>
|
|
<p>Please report bugs here:
|
|
<br><a href="http://grass.osgeo.org/development/bug-tracking/">http://grass.osgeo.org/development/bug-tracking/</a>
|
|
|
|
<p>
|
|
<i>Last changed: $Date$</i>
|
|
</body>
|
|
</html>
|