-
Notifications
You must be signed in to change notification settings - Fork 5
/
REQUIREMENTS.html
216 lines (150 loc) · 8.13 KB
/
REQUIREMENTS.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!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 6</title>
<link rel="stylesheet" href="grassdocs.css" type="text/css">
</head>
<body bgcolor="#FFFFFF">
<h2>REQUIREMENTS to compile GRASS GIS 6</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 uncompressed. 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>
<br>
<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>
<br>
<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>
<br>
<li><b>flex</b> lexical analyzer generator (flex) - 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>
<br>
<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>
<br>
<li><b>libncurses4.x/5.x</b> (already installed on modern systems)
<br><a href="http://www.gnu.org/software/ncurses/ncurses.html">http://www.gnu.org/software/ncurses/ncurses.html</a>
<br><a href="ftp://ftp.gnu.org/pub/gnu/ncurses/">ftp://ftp.gnu.org/pub/gnu/ncurses</a>
<br>
<li><b>X Window</b> system for graphical output, development libraries (X development
libraries, in some linux distributions they are separate packages, e.g. xlibs-dev or x11-server-devel)
<br><a href="http://www.xfree.org">http://www.xfree.org</a>
<br><a href="http://www.x.org">http://www.x.org</a>
<br>winGRASS note: As alternative a generic MS-Windows driver is under
construction which does not require X11
<br>
<li><b>PROJ4</b> - Projection Library<br>
<a href="http://trac.osgeo.org/proj">http://trac.osgeo.org/proj</a>
<br>
<li><b>GDAL and OGR</b> for import and export of most external raster and vector
map formats<br>
<a href="http://gdal.osgeo.org">http://gdal.osgeo.org</a>
<li><b>XDR</b> for raster I/O management (commonly provided on *NIX systems)<br>
<a href="https://svn.r-project.org/R/trunk/src/extra/xdr">https://svn.r-project.org/R/trunk/src/extra/xdr</a>
</ul>
<h3>
Optional requirements:</h3>
<ul>
<li><b>Tcl/Tk 8.x libraries</b> (including the 'wish' program) to use the GRASS GUI
menu system and the NVIZ visualization suite<br>
Some features of the new <em>gis.m</em> GIS manager may depend on version 8.4 or newer.
<br>
<!--
On some platforms (e.g. Debian) GRASS 6.0.2 and earlier needed to be compiled
against the Tcl/Tk 8.3 development packages in order to get NVIZ working correctly.
This has been fixed in newer versions of GRASS.<br>
-->
see <a href="http://tcl.sourceforge.net">http://tcl.sourceforge.net</a>
<li>If hardware openGL support is missing in the X Server, <b>Mesa-3.x</b>
(openGL clone) may be required for NVIZ<br>
<a href="http://mesa3d.sourceforge.net">http://mesa3d.sourceforge.net</a>
<li><b>C++ Compiler</b> (required for the r.terraflow module)<br>
gcc: <a href="http://www.gnu.org/software/gcc/gcc.html">http://www.gnu.org/software/gcc/gcc.html</a>
<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><b>GEOS 3.x(?)</b> (Geometry Engine library), adds extended options
to the v.select module<br>
<a href="http://trac.osgeo.org/geos">http://trac.osgeo.org/geos</a>
<li><b>LAPACK / BLAS</b> (libraries for numerical computing) for GMATH library (GRASS numerical lib)<br>
<a href="http://www.netlib.org/lapack">http://www.netlib.org/lapack</a> (usually available on Linux distros)
<br>
<I>Note: LAPACK/BLAS support is intended for future module implementations, no need to
use it at time!</I>
<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><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><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><b>PostgreSQL libraries</b> (for the PostgreSQL database interface)<br>
<a href="http://www.postgresql.org">http://www.postgresql.org</a>
<li><b>mySQL libraries</b> (for the mySQL database interface)<br>
<a href="http://www.mysql.org">http://www.mysql.org</a>
<li><b>sqlite libraries</b> (for the sqlite database interface)<br>
<a href="http://www.sqlite.org">http://www.sqlite.org</a>
<li><b>unixODBC</b> (for the ODBC database interface)<br>
<a href="http://www.unixodbc.org">http://www.unixodbc.org</a>
<li><b>Motif or Lesstif libraries</b> (for the "xganim" <!-- and ogl3d -->
module)<br>
<a href="http://www.lesstif.org">http://www.lesstif.org</a>
<li><b>R language</b> (for the R statistical language interface)<br>
<a href="http://cran.r-project.org">http://cran.r-project.org</a>
<li><b>FreeType2</b> (for TrueType font support and d.text.freetype)<br>
<a href="http://www.freetype.org">http://www.freetype.org</a>
<li><b>Python >= 2.4</b> (for wxGUI and ctypes interface)<br>
Note: Python 3 is not supported<br>
<a href="http://www.python.org">http://www.python.org</a>
<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><b>wxPython >= 2.8.1.1</b> (for wxGUI, see file
gui/wxpython/README)<br>
<a href="http://www.wxpython.org">http://www.wxpython.org</a>
<li><b>NumPy >= 1.0.4</b> (for various wxGUI components, see
file gui/wxpython/README)<br>
<a href="http://numpy.scipy.org">http://numpy.scipy.org</a>
<li><b>Python Imaging Library</b> (for wxGUI Cartographic Composer (preview mode), see
file gui/wxpython/README)<br>
<a href="http://www.pythonware.com/products/pil">http://www.pythonware.com/products/pil</a>
<li><b>FFMPEG</b> (for direct rendering of animations from NVIZ),
including libavcodec, libavformat, libswscale <BR>
<a href="http://ffmpeg.org">http://ffmpeg.org</a><BR>
<li><b>Cairo >= 1.5.8</b> (Cairo graphics library<BR>
<a href="http://cairographics.org">http://cairographics.org</a><BR>
<li><b>AVCE00 and E00Compr Libraries</b> (avcimport)<BR>
<a href="http://avce00.maptools.org">http://avce00.maptools.org</a><BR>
</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%">
<br><i>© GRASS Development Team 2001-2011</i>
<p>Please report bugs here:
<br><a href="http://grass.osgeo.org/bugtracking/index.php">http://grass.osgeo.org/bugtracking/index.php</a>
<p>
<i>Last changed: $Date$</i>
</body>
</html>