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
|
<!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>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#59188E" alink="#FF0000">
<h2>REQUIREMENTS to compile GRASS GIS 6</h2>
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 50 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.
<br>
<h3>General requirements:</h3>
(most tools are standard tools on Linux, for other platforms you may have
to install some of them.)
<ul>
<li><B>C-compiler</B> (cc, gcc, egcs, ...)</li>
<br>gcc: <a href="http://www.gnu.org/software/gcc/gcc.html">http://www.gnu.org/software/gcc/gcc.html</a>
<br><br>
<li><B>GNU make</B> is recommended</li>
<br><a href="http://www.gnu.org/software/make/make.html">http://www.gnu.org/software/make/make.html</a>
<br><br>
<li><B>zlib</B> compression library (already installed on most modern systems)</li>
<br>It is used to internally compress GRASS raster files:
<br>libz: <a href="http://www.gzip.org/zlib/">http://www.gzip.org/zlib</a>
<!-- freesoftware.com is broken! <br><a href="ftp://ftp.freesoftware.com/pub/infozip/zlib/">ftp://ftp.freesoftware.com/pub/infozip/zlib</a> -->
<br><br>
<li><B>flex</B> lexical analyzer generator (flex),</li>
<br>(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><br>
<li><B>parser generator</B> (yacc, bison)</li>
<br>bison: <a href="http://www.gnu.org/software/bison/bison.html">http://www.gnu.org/software/bison/bison.html</a>
<br><br>
<li><B>libncurses4.x/5.x</B> (already installed on modern systems)</li>
<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><br>
<li><B>X11</B> window system for graphical output, development libraries (X development
libraries, in some linux distributions they are separate packages, e.g. xlibs-dev)</li>
<br><a href="http://www.xfree.org">http://www.xfree.org</a>
<br><br>
<li>winGRASS: As alternative a generic MS-Windows driver is under
construction which does not require X11</li>
<br><br>
<li><B>PROJ4</B> - Projection Library<br>
<a href="http://www.remotesensing.org/proj/">http://www.remotesensing.org/proj</a>
<br></li>
</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>
On some platforms (e.g. Debain/Sarge) GRASS needs to be compiled against the
Tcl/Tk 8.3 development packages in order to get NVIZ working correctly.<br>
see <a href="http://tcl.sourceforge.net">http://tcl.sourceforge.net</a>
<br></li>
<li><B>GDAL and OGR</B> for import and export of most external raster and vector
map formats<br>
<a href="http://www.gdal.org">http://www.gdal.org</a>
<br></li>
<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>
<br></li>
<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>
<br></li>
<li><B>FFTW 2.x</B> (library for computing the Discrete Fourier Transform), required
for i.fft and i.ifft modules<br>
<a href="http://www.fftw.org">http://www.fftw.org</a>
<br></li>
<!-- uncomment when implemented
<li>LAPACK / BLAS (libraries for numerical computing) required for
GMATH library (GRASS numerical lib)<br>
[<a href="http://www.netlib.org/lapack/">http://www.netlib.org/lapack</a>] (usually on Linux distros)
<br>
Note: the support is intended for future module implementations
<br></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>
<br></li>
<li><B>libjpeg</B> (for r.out.tiff), usually already installed.<br>
<a href="http://www.ijg.org">http://www.ijg.org</a><br>
<a href="ftp://ftp.uu.net/graphics/jpeg/">ftp://ftp.uu.net/graphics/jpeg</a>
<br></li>
<li><B>libtiff</B> (for r.out.tiff), usually already installed.<br>
<a href="http://www.libtiff.org">http://www.libtiff.org</a>
<br></li>
<li><B>PostgreSQL libraries</B> (for the PostgreSQL database interface)<br>
<a href="http://www.postgresql.org">http://www.postgresql.org</a>
<br></li>
<li><B>mySQL libraries</B> (for the mySQL database interface)<br>
<a href="http://www.mysql.org">http://www.mysql.org</a>
<br></li>
<li><B>unixODBC</B> (for the ODBC database interface)<br>
<a href="http://www.unixodbc.org">http://www.unixodbc.org</a>
<br></li>
<li><B>Motif or Lesstif libraries</B> (for the "xanim" <!-- and ogl3d -->
module)<br>
<a href="http://www.lesstif.org">http://www.lesstif.org</a>
<br></li>
<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>
<br></li>
<li><B>FreeType2</B> (for TrueType font support and d.text.freetype)<br>
<a href="http://www.freetype.org">http://www.freetype.org</a>
<br></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%">
<br><i>© GRASS Development Team 2001-2005</i>
<p>Please report bugs here:
<br><a href="http://grass.itc.it/bugtracking/bugreport.html">http://grass.itc.it/bugtracking/bugreport.html</a>
<p><i>$Id: REQUIREMENTS.html,v 1.6 2005/02/22 01:26:16 hamish Exp $</i>
</body>
</html>
|