REQUIREMENTS.html 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <title>REQUIREMENTS to compile GRASS GIS 7</title>
  6. <link rel="stylesheet" href="grassdocs.css" type="text/css">
  7. </head>
  8. <body bgcolor="#FFFFFF">
  9. <h2>REQUIREMENTS to compile GRASS GIS 7</h2>
  10. A workstation running some flavor of UNIX like Solaris, IRIX,
  11. GNU/Linux, BSD, Mac OS X, Cygwin or MinGW (on Win32). Ideally, you
  12. should have at least 500 Mb. The source code package needs around 80
  13. MB uncompressed. The resulting binaries may need between 20 MB and
  14. 180 MB depending on your platform. During a full compilation you may
  15. need temporarily up to 550MB including the source code.
  16. <p>
  17. To disable features please read the <a href="INSTALL">INSTALL</a> file.
  18. <h3>General requirements:</h3>
  19. (most tools are standard tools on GNU/Linux, for other platforms you may have
  20. to install some of them.)
  21. <ul>
  22. <li><b>C-compiler</b> (cc, gcc, egcs, ...)
  23. <br>gcc: <a href="http://www.gnu.org/software/gcc/gcc.html">http://www.gnu.org/software/gcc/gcc.html</a>
  24. <br>
  25. <li><b>GNU make</b> is recommended (at least version 3.81)
  26. <br><a href="http://www.gnu.org/software/make/make.html">http://www.gnu.org/software/make/make.html</a>
  27. <br>
  28. <li><b>zlib</b> compression library (already installed on most modern systems)
  29. <br>It is used to internally compress GRASS raster maps:
  30. <br>libz: <a href="http://www.zlib.net">http://www.zlib.net</a>
  31. <br>
  32. <li><b>flex</b> lexical analyzer generator (flex) - note: lex is no longer supported, please use flex instead:
  33. <br>flex: <a href="http://www.gnu.org/software/flex/flex.html">http://www.gnu.org/software/flex/flex.html</a>
  34. <br>
  35. <li><b>parser generator</b> (yacc, bison)
  36. <br>bison: <a href="http://www.gnu.org/software/bison/bison.html">http://www.gnu.org/software/bison/bison.html</a>
  37. <br>
  38. <li><b>libncurses4.x/5.x</b> (already installed on modern systems)
  39. <br><a href="http://www.gnu.org/software/ncurses/ncurses.html">http://www.gnu.org/software/ncurses/ncurses.html</a>
  40. <br><a href="ftp://ftp.gnu.org/pub/gnu/ncurses/">ftp://ftp.gnu.org/pub/gnu/ncurses</a>
  41. <br>
  42. <li><b>X Window</b> system for graphical output, development libraries (X development
  43. libraries, in some linux distributions they are separate packages, e.g. xlibs-dev or x11-server-devel)
  44. <br><a href="http://www.xfree.org">http://www.xfree.org</a>
  45. <br><a href="http://www.x.org">http://www.x.org</a>
  46. <br>winGRASS note: As alternative a generic MS-Windows driver is under
  47. construction which does not require X11
  48. <br>
  49. <li><b>PROJ4</b> - Projection Library<br>
  50. <a href="http://trac.osgeo.org/proj">http://trac.osgeo.org/proj</a>
  51. <br>
  52. <li><b>GDAL and OGR</b> for import and export of most external raster and vector
  53. map formats<br>
  54. <a href="http://gdal.osgeo.org">http://gdal.osgeo.org</a>
  55. <li><b>XDR</b> for raster I/O management (commonly provided on *NIX systems)<br>
  56. <a href="https://svn.r-project.org/R/trunk/src/extra/xdr">https://svn.r-project.org/R/trunk/src/extra/xdr</a>
  57. <li><b>python-dateutil</b> (for time stamp parsing in the temporal GIS framework)<br>
  58. <a href="http://pypi.python.org/pypi/python-dateutil">http://pypi.python.org/pypi/</a>
  59. </ul>
  60. <h3>
  61. Optional requirements:</h3>
  62. <ul>
  63. <li><b>Tcl/Tk 8.x libraries</b> (including the 'wish' program) to use the GRASS GUI
  64. menu system and the NVIZ visualization suite<br>
  65. Some features of the new <em>gis.m</em> GIS manager may depend on version 8.4 or newer.
  66. <br>
  67. see <a href="http://tcl.sourceforge.net">http://tcl.sourceforge.net</a>
  68. <li>If hardware openGL support is missing in the X Server, <b>Mesa-3.x</b>
  69. (openGL clone) may be required for NVIZ<br>
  70. <a href="http://mesa3d.sourceforge.net">http://mesa3d.sourceforge.net</a>
  71. <li><b>C++ Compiler</b> (required for the r.terraflow module)<br>
  72. gcc: <a href="http://www.gnu.org/software/gcc/gcc.html">http://www.gnu.org/software/gcc/gcc.html</a>
  73. <li><b>FFTW 2.x or 3.x</b> (library for computing the Discrete Fourier Transform), required
  74. for i.fft and i.ifft and other modules<br>
  75. <a href="http://www.fftw.org">http://www.fftw.org</a>
  76. <li><b>GEOS 3.x(?)</b> (Geometry Engine library), adds extended options
  77. to the v.select module<br>
  78. <a href="http://trac.osgeo.org/geos">http://trac.osgeo.org/geos</a>
  79. <li><b>LAPACK / BLAS</b> (libraries for numerical computing) for GMATH library (GRASS numerical lib)<br>
  80. <a href="http://www.netlib.org/lapack">http://www.netlib.org/lapack</a> (usually available on Linux distros)
  81. <br>
  82. <I>Note: LAPACK/BLAS support is intended for future module implementations, no need to
  83. use it at time!</I>
  84. <li><b>NetCDF</b> (for 3d raster netcdf export)<br>
  85. <a href="http://www.unidata.ucar.edu/software/netcdf/">http://www.unidata.ucar.edu/software/netcdf/</a>
  86. <li><b>libpng</b> (for r.out.png and the PNG driver), usually already installed.<br>
  87. <a href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</a>
  88. <li><b>libtiff</b> (for r.out.tiff), usually already installed.<br>
  89. <a href="http://www.remotesensing.org/libtiff">http://www.remotesensing.org/libtiff</a>
  90. <li><b>readline</b> for extra command prompt functionality
  91. <br><a href="http://tiswww.case.edu/~chet/readline/rltop.html">http://tiswww.case.edu/~chet/readline/rltop.html</a>
  92. <br><a href="ftp://ftp.gnu.org/gnu/readline">ftp://ftp.gnu.org/gnu/readline</a>
  93. <li><b>PostgreSQL libraries</b> (for the PostgreSQL database interface)<br>
  94. <a href="http://www.postgresql.org">http://www.postgresql.org</a>
  95. <li><b>mySQL libraries</b> (for the mySQL database interface)<br>
  96. <a href="http://www.mysql.org">http://www.mysql.org</a>
  97. <li><b>sqlite libraries</b> (for the sqlite database interface)<br>
  98. <a href="http://www.sqlite.org">http://www.sqlite.org</a>
  99. <li><b>unixODBC</b> (for the ODBC database interface)<br>
  100. <a href="http://www.unixodbc.org">http://www.unixodbc.org</a>
  101. <li><b>Motif or Lesstif libraries</b> (for the "xganim" <!-- and ogl3d -->
  102. module)<br>
  103. <a href="http://www.lesstif.org">http://www.lesstif.org</a>
  104. <li><b>R language</b> (for the R statistical language interface)<br>
  105. <a href="http://cran.r-project.org">http://cran.r-project.org</a>
  106. <li><b>FreeType2</b> (for TrueType font support and d.text.freetype)<br>
  107. <a href="http://www.freetype.org">http://www.freetype.org</a>
  108. <li><b>Python &gt;= 2.4</b> (for wxGUI and ctypes interface)<br>
  109. Note: Python 3 is not supported<br>
  110. <a href="http://www.python.org">http://www.python.org</a>
  111. <li><b>Ctypes</b> (for ctypes interface)<br>
  112. Ctypes can be added as a third-party module in Python 2.3 and 2.4
  113. - <a href="http://pypi.python.org/pypi/ctypes/1.0.2">http://pypi.python.org/pypi/ctypes/1.0.2</a><br>
  114. <a href="http://docs.python.org/library/ctypes.html">http://docs.python.org/library/ctypes.html</a>
  115. <li><b>wxPython &gt;= 2.8.1.1</b> (for wxGUI, see file
  116. gui/wxpython/README)<br>
  117. <a href="http://www.wxpython.org">http://www.wxpython.org</a>
  118. <li><b>NumPy &gt;= 1.0.4</b> (for various wxGUI components, see
  119. file gui/wxpython/README)<br>
  120. <a href="http://numpy.scipy.org">http://numpy.scipy.org</a>
  121. <li><b>Python Imaging Library</b> (for wxGUI Cartographic Composer (preview mode), see
  122. file gui/wxpython/README)<br>
  123. <a href="http://www.pythonware.com/products/pil">http://www.pythonware.com/products/pil</a>
  124. <li><b>FFMPEG</b> (for direct rendering of animations from NVIZ),
  125. including libavcodec, libavformat, libswscale <BR>
  126. <a href="http://ffmpeg.org">http://ffmpeg.org</a><BR>
  127. <li><b>Cairo &gt;= 1.5.8</b> (Cairo graphics library<BR>
  128. <a href="http://cairographics.org">http://cairographics.org</a><BR>
  129. <li><b>AVCE00 and E00Compr Libraries</b> (avcimport)<BR>
  130. <a href="http://avce00.maptools.org">http://avce00.maptools.org</a><BR>
  131. </ul>
  132. <h3>Note:</h3>
  133. SUN Solaris users may go here to download precompiled libraries etc.:
  134. <br><a href="http://www.sunfreeware.com">http://www.sunfreeware.com</a>
  135. <p>
  136. SGI IRIX users may go here to download precompiled libraries etc.:
  137. <br><a href="http://freeware.sgi.com">http://freeware.sgi.com</a>
  138. <p>
  139. MacOSX users may go here to download precompiled libraries etc.:
  140. <br><a href="http://fink.sourceforge.net">http://fink.sourceforge.net</a>
  141. <p>
  142. <hr WIDTH="100%">
  143. <br><i>&copy; GRASS Development Team 2001-2011</i>
  144. <p>Please report bugs here:
  145. <br><a href="http://grass.osgeo.org/bugtracking/index.php">http://grass.osgeo.org/bugtracking/index.php</a>
  146. <p>
  147. <i>Last changed: $Date$</i>
  148. </body>
  149. </html>