10
10
<h2>REQUIREMENTS to compile GRASS GIS 6</h2>
12
A workstation running some flavor of UNIX like Solaris, IRIX, Linux, BSD,
13
Mac OS X or cygwin (on Win32). Ideally, you should have at least 500 Mb for data
14
and 32 Mb RAM. The source code package needs around 50 MB uncompressed.
15
The resulting binaries may need between 20 MB and 180 MB depending on your
16
platform. During a full compilation you may need temporarily up to 550MB including
12
A workstation running some flavor of UNIX like Solaris, IRIX,
13
GNU/Linux, BSD, Mac OS X, Cygwin or MinGW (on Win32). Ideally, you
14
should have at least 500 Mb. The source code package needs around 80
15
MB uncompressed. The resulting binaries may need between 20 MB and
16
180 MB depending on your platform. During a full compilation you may
17
need temporarily up to 550MB including the source code.
19
19
To disable features please read the <a href="INSTALL">INSTALL</a> file.
21
21
<h3>General requirements:</h3>
23
(most tools are standard tools on Linux, for other platforms you may have
23
(most tools are standard tools on GNU/Linux, for other platforms you may have
24
24
to install some of them.)
27
<li><B>C-compiler</B> (cc, gcc, egcs, ...)
27
<li><b>C-compiler</b> (cc, gcc, egcs, ...)
28
28
<br>gcc: <a href="http://www.gnu.org/software/gcc/gcc.html">http://www.gnu.org/software/gcc/gcc.html</a>
31
<li><B>GNU make</B> is recommended (at least version 3.81)
31
<li><b>GNU make</b> is recommended (at least version 3.81)
32
32
<br><a href="http://www.gnu.org/software/make/make.html">http://www.gnu.org/software/make/make.html</a>
35
<li><B>zlib</B> compression library (already installed on most modern systems)
35
<li><b>zlib</b> compression library (already installed on most modern systems)
36
36
<br>It is used to internally compress GRASS raster maps:
37
<br>libz: <a href="http://www.gzip.org/zlib/">http://www.gzip.org/zlib</a>
38
<!-- freesoftware.com is broken! <br><a href="ftp://ftp.freesoftware.com/pub/infozip/zlib/">ftp://ftp.freesoftware.com/pub/infozip/zlib</a> -->
37
<br>libz: <a href="http://www.zlib.net">http://www.zlib.net</a>
41
<li><B>flex</B> lexical analyzer generator (flex) - note: lex is no longer supported, please use flex instead:
40
<li><b>flex</b> lexical analyzer generator (flex) - note: lex is no longer supported, please use flex instead:
42
41
<br>flex: <a href="http://www.gnu.org/software/flex/flex.html">http://www.gnu.org/software/flex/flex.html</a>
45
<li><B>parser generator</B> (yacc, bison)
44
<li><b>parser generator</b> (yacc, bison)
46
45
<br>bison: <a href="http://www.gnu.org/software/bison/bison.html">http://www.gnu.org/software/bison/bison.html</a>
49
<li><B>libncurses4.x/5.x</B> (already installed on modern systems)
48
<li><b>libncurses4.x/5.x</b> (already installed on modern systems)
50
49
<br><a href="http://www.gnu.org/software/ncurses/ncurses.html">http://www.gnu.org/software/ncurses/ncurses.html</a>
51
50
<br><a href="ftp://ftp.gnu.org/pub/gnu/ncurses/">ftp://ftp.gnu.org/pub/gnu/ncurses</a>
54
<li><B>X Window</B> system for graphical output, development libraries (X development
53
<li><b>X Window</b> system for graphical output, development libraries (X development
55
54
libraries, in some linux distributions they are separate packages, e.g. xlibs-dev or x11-server-devel)
56
55
<br><a href="http://www.xfree.org">http://www.xfree.org</a>
57
56
<br><a href="http://www.x.org">http://www.x.org</a>
85
84
see <a href="http://tcl.sourceforge.net">http://tcl.sourceforge.net</a>
88
<li>If hardware openGL support is missing in the X Server, <B>Mesa-3.x</B>
87
<li>If hardware openGL support is missing in the X Server, <b>Mesa-3.x</b>
89
88
(openGL clone) may be required for NVIZ<br>
90
89
<a href="http://mesa3d.sourceforge.net">http://mesa3d.sourceforge.net</a>
93
<li><B>C++ Compiler</B> (required for the r.terraflow module)<br>
92
<li><b>C++ Compiler</b> (required for the r.terraflow module)<br>
94
93
gcc: <a href="http://www.gnu.org/software/gcc/gcc.html">http://www.gnu.org/software/gcc/gcc.html</a>
97
<li><B>FFTW 2.x or 3.x</B> (library for computing the Discrete Fourier Transform), required
96
<li><b>FFTW 2.x or 3.x</b> (library for computing the Discrete Fourier Transform), required
98
97
for i.fft and i.ifft and other modules<br>
99
98
<a href="http://www.fftw.org">http://www.fftw.org</a>
102
<li><B>LAPACK / BLAS</B> (libraries for numerical computing) for GMATH library (GRASS numerical lib)<br>
103
[<a href="http://www.netlib.org/lapack/">http://www.netlib.org/lapack</a>] (usually available on Linux distros)
101
<li><b>LAPACK / BLAS</b> (libraries for numerical computing) for GMATH library (GRASS numerical lib)<br>
102
<a href="http://www.netlib.org/lapack">http://www.netlib.org/lapack</a> (usually available on Linux distros)
105
104
<I>Note: LAPACK/BLAS support is intended for future module implementations, no need to
106
105
use it at time!</I>
109
<li><B>libpng</B> (for r.out.png and the PNG driver), usually already installed.<br>
108
<li><b>libpng</b> (for r.out.png and the PNG driver), usually already installed.<br>
110
109
<a href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</a>
113
<li><B>libjpeg</B> (for r.out.tiff), usually already installed.<br>
112
<li><b>libjpeg</b> (for r.out.tiff), usually already installed.<br>
114
113
<a href="http://www.ijg.org">http://www.ijg.org</a><br>
115
<a href="ftp://ftp.uu.net/graphics/jpeg/">ftp://ftp.uu.net/graphics/jpeg</a>
118
<li><B>libtiff</B> (for r.out.tiff), usually already installed.<br>
119
<a href="http://www.remotesensing.org/libtiff/">http://www.remotesensing.org/libtiff/</a>
121
<li><B>readline</B> for extra command prompt functionality
114
<a href="ftp://ftp.uu.net/graphics/jpeg">ftp://ftp.uu.net/graphics/jpeg</a>
117
<li><b>libtiff</b> (for r.out.tiff), usually already installed.<br>
118
<a href="http://www.remotesensing.org/libtiff">http://www.remotesensing.org/libtiff</a>
121
<li><b>readline</b> for extra command prompt functionality
122
122
<br><a href="http://tiswww.case.edu/~chet/readline/rltop.html">http://tiswww.case.edu/~chet/readline/rltop.html</a>
123
<br><a href="ftp://ftp.gnu.org/gnu/readline/">ftp://ftp.gnu.org/gnu/readline/</a>
123
<br><a href="ftp://ftp.gnu.org/gnu/readline">ftp://ftp.gnu.org/gnu/readline</a>
125
<li><B>PostgreSQL libraries</B> (for the PostgreSQL database interface)<br>
125
<li><b>PostgreSQL libraries</b> (for the PostgreSQL database interface)<br>
126
126
<a href="http://www.postgresql.org">http://www.postgresql.org</a>
129
<li><B>mySQL libraries</B> (for the mySQL database interface)<br>
129
<li><b>mySQL libraries</b> (for the mySQL database interface)<br>
130
130
<a href="http://www.mysql.org">http://www.mysql.org</a>
133
<li><B>sqlite libraries</B> (for the sqlite database interface)<br>
133
<li><b>sqlite libraries</b> (for the sqlite database interface)<br>
134
134
<a href="http://www.sqlite.org">http://www.sqlite.org</a>
137
<li><B>unixODBC</B> (for the ODBC database interface)<br>
137
<li><b>unixODBC</b> (for the ODBC database interface)<br>
138
138
<a href="http://www.unixodbc.org">http://www.unixodbc.org</a>
141
<li><B>Motif or Lesstif libraries</B> (for the "xganim" <!-- and ogl3d -->
141
<li><b>Motif or Lesstif libraries</b> (for the "xganim" <!-- and ogl3d -->
143
143
<a href="http://www.lesstif.org">http://www.lesstif.org</a>
146
<li><B>R language</B> (for the R statistical language interface)<br>
146
<li><b>R language</b> (for the R statistical language interface)<br>
147
147
<a href="http://cran.r-project.org">http://cran.r-project.org</a>
150
<li><B>FreeType2</B> (for TrueType font support and d.text.freetype)<br>
150
<li><b>FreeType2</b> (for TrueType font support and d.text.freetype)<br>
151
151
<a href="http://www.freetype.org">http://www.freetype.org</a>
153
<li><B>Python >= 2.4</B> (for wxPython GUI and SWIG interface)<br>
154
<li><b>Python >= 2.4</b> (for wxGUI)<br>
154
155
Note: Python 3 is not supported<br>
155
156
<a href="http://www.python.org">http://www.python.org</a>
157
<li><B>SWIG >= 1.3.31</B> (for wxPython-based GUI extensions - vector
158
digitizer and 3d viewer)<br>
159
Note: You should use the same version of SWIG that was used to build
161
<a href="http://www.swig.org">http://www.swig.org</a>
163
<li><B>wxPython >= 2.8.1.1</B> for wxPython-based GUI (see file
159
<li><b>wxPython >= 2.8.1.1</b> (for wxGUI, see file
164
160
gui/wxpython/README)<br>
165
161
<a href="http://www.wxpython.org">http://www.wxpython.org</a>
167
<li><B>NumPy</B> for wxPython-based GUI tools (see
164
<li><b>NumPy</b> (for wxPython-based GUI tools, see
168
165
file gui/wxpython/README)<br>
169
166
<a href="http://numpy.scipy.org">http://numpy.scipy.org</a>
171
<li><B>FFMPEG</B> (for direct rendering of animations from NVIZ),
169
<li><b>FFMPEG</b> (for direct rendering of animations from NVIZ),
172
170
including libavcodec, libavformat, libswscale <BR>
173
<a href="http://ffmpeg.mplayerhq.hu/">http://ffmpeg.mplayerhq.hu</a><BR>
175
<li><B>Cairo</B> (Cairo graphics library, Version >= 1.5.8)<BR>
171
<a href="http://ffmpeg.mplayerhq.hu">http://ffmpeg.mplayerhq.hu</a><BR>
174
<li><b>Cairo >= 1.5.8</b> (Cairo graphics library<BR>
176
175
<a href="http://cairographics.org">http://cairographics.org</a><BR>
178
<li><B>AVCE00 and E00Compr Libraries</B> (avcimport)<BR>
179
<a href="http://avce00.maptools.org/">http://avce00.maptools.org/</a><BR>
178
<li><b>AVCE00 and E00Compr Libraries</b> (avcimport)<BR>
179
<a href="http://avce00.maptools.org">http://avce00.maptools.org</a><BR>