REQUIREMENTS.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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 compressed. The resulting binaries may need between 20 MB and 180
  14. MB depending on your platform. During a full compilation you may need
  15. 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. </li>
  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. </li>
  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. </li>
  32. <li><b>flex</b> lexical analyzer generator (flex)
  33. <br>Note: lex is no longer supported, please use flex instead.
  34. <br>flex: <a href="http://www.gnu.org/software/flex/flex.html">http://www.gnu.org/software/flex/flex.html</a>
  35. </li>
  36. <li><b>parser generator</b> (yacc, bison)
  37. <br>bison: <a href="http://www.gnu.org/software/bison/bison.html">http://www.gnu.org/software/bison/bison.html</a>
  38. </li>
  39. <li><b>PROJ4</b> - Cartographic Projection Library<br>
  40. <a href="http://trac.osgeo.org/proj">http://trac.osgeo.org/proj</a>
  41. </li>
  42. <li><b>GDAL/OGR</b> for import and export of most external raster and vector
  43. map formats<br>
  44. <a href="http://gdal.org">http://gdal.org</a>
  45. </li>
  46. <li><b>XDR</b> for raster I/O management (commonly provided on *NIX systems)<br>
  47. <a href="https://svn.r-project.org/R/trunk/src/extra/xdr">https://svn.r-project.org/R/trunk/src/extra/xdr</a>
  48. </li>
  49. </ul>
  50. <h3>Optional requirements:</h3>
  51. <ul>
  52. <li><b>C++ Compiler</b> (required for the various C++ GRASS module)<br>
  53. gcc: <a href="http://www.gnu.org/software/gcc/gcc.html">http://www.gnu.org/software/gcc/gcc.html</a>
  54. </li>
  55. <li><b>FFTW 2.x or 3.x</b> (library for computing the Discrete Fourier Transform), required
  56. for i.fft and i.ifft and other modules<br>
  57. <a href="http://www.fftw.org">http://www.fftw.org</a>
  58. </li>
  59. <li><b>GEOS</b> (Geometry Engine library), adds extended options to the v.select module<br>
  60. <a href="http://trac.osgeo.org/geos">http://trac.osgeo.org/geos</a>
  61. </li>
  62. <li><b>LAPACK / BLAS</b> (libraries for numerical computing) for GMATH library (GRASS Numerical Library)<br>
  63. <a href="http://www.netlib.org/lapack">http://www.netlib.org/lapack</a> (usually available on Linux distros)
  64. <br>
  65. <i>Note:</i> LAPACK/BLAS support is intended for future module
  66. implementations, no need to use it at time!
  67. <li><b>NetCDF</b> (for 3D raster netcdf export)<br>
  68. <a href="http://www.unidata.ucar.edu/software/netcdf/">http://www.unidata.ucar.edu/software/netcdf/</a>
  69. </li>
  70. <li>If hardware openGL support is missing in the X
  71. Server, <b>Mesa-3.x</b> (openGL clone) may be required for wxNVIZ<br>
  72. <a href="http://mesa3d.sourceforge.net">http://mesa3d.sourceforge.net</a>
  73. </li>
  74. <li><b>libpng</b> (for r.out.png and the PNG driver), usually already installed.<br>
  75. <a href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</a>
  76. </li>
  77. <li><b>libtiff</b> (for r.out.tiff), usually already installed.<br>
  78. <a href="http://www.remotesensing.org/libtiff">http://www.remotesensing.org/libtiff</a>
  79. </li>
  80. <li><b>readline</b> for extra command prompt functionality
  81. <br><a href="http://tiswww.case.edu/~chet/readline/rltop.html">http://tiswww.case.edu/~chet/readline/rltop.html</a>
  82. <br><a href="ftp://ftp.gnu.org/gnu/readline">ftp://ftp.gnu.org/gnu/readline</a>
  83. </li>
  84. <li><b>PostgreSQL libraries</b> (for the PostgreSQL database interface and PostGIS support)<br>
  85. <a href="http://www.postgresql.org">http://www.postgresql.org</a>
  86. </li>
  87. <li><b>MySQL libraries</b> (for the MySQL database interface)<br>
  88. <a href="http://www.mysql.org">http://www.mysql.org</a>
  89. </li>
  90. <li><b>SQLite libraries</b> (for the SQLite database interface)<br>
  91. <a href="http://www.sqlite.org">http://www.sqlite.org</a>
  92. </li>
  93. <li><b>unixODBC</b> (for the ODBC database interface)<br>
  94. <a href="http://www.unixodbc.org">http://www.unixodbc.org</a>
  95. </li>
  96. <li><b>Motif or Lesstif libraries</b> (for the "xganim" <!-- and ogl3d -->
  97. module)<br>
  98. <a href="http://www.lesstif.org">http://www.lesstif.org</a>
  99. </li>
  100. <li><b>R language</b> (for the R statistical language interface)<br>
  101. <a href="http://cran.r-project.org">http://cran.r-project.org</a>
  102. </li>
  103. <li><b>FreeType2</b> (for TrueType font support and d.text.freetype)<br>
  104. <a href="http://freetype.sourceforge.net">http://freetype.sourceforge.net</a>
  105. </li>
  106. <li><b>Python &gt;= 2.4</b> (for wxGUI and ctypes interface)<br>
  107. <i>Note:</i> Python 3 is not supported<br>
  108. <a href="http://www.python.org">http://www.python.org</a>
  109. </li>
  110. <li><b>Ctypes</b> (for ctypes interface)<br>
  111. Ctypes can be added as a third-party module in Python 2.3 and 2.4
  112. - <a href="http://pypi.python.org/pypi/ctypes/1.0.2">http://pypi.python.org/pypi/ctypes/1.0.2</a><br>
  113. <a href="http://docs.python.org/library/ctypes.html">http://docs.python.org/library/ctypes.html</a>
  114. </li>
  115. <li><b>wxPython &gt;= 2.8.10.1</b> (for wxGUI)<br>
  116. <a href="http://www.wxpython.org">http://www.wxpython.org</a>
  117. </li>
  118. <li><b>NumPy &gt;= 1.0.4</b> (for various wxGUI components and pyGRASS)<br>
  119. <a href="http://numpy.org">http://numpy.org</a>
  120. </li>
  121. <li><b>Python Imaging Library</b> (highly recommended for wxGUI and necessary for wxGUI Cartographic Composer)<br>
  122. <a href="http://www.pythonware.com/products/pil">http://www.pythonware.com/products/pil</a>
  123. </li>
  124. <li><b>FFMPEG</b> (for direct rendering of animations from wxNVIZ),
  125. including libavcodec, libavformat, libswscale <br>
  126. <a href="http://ffmpeg.org">http://ffmpeg.org</a>
  127. </li>
  128. <li><b>Cairo &gt;= 1.5.8</b> (for Cairo driver)<br>
  129. <a href="http://cairographics.org">http://cairographics.org</a>
  130. </li>
  131. <li><b>AVCE00 and E00Compr Libraries</b> (avcimport)<br>
  132. <a href="http://avce00.maptools.org">http://avce00.maptools.org</a>
  133. </li>
  134. </ul>
  135. <h3>Note:</h3>
  136. SUN Solaris users may go here to download precompiled libraries etc.:
  137. <br><a href="http://www.sunfreeware.com">http://www.sunfreeware.com</a>
  138. <p>
  139. SGI IRIX users may go here to download precompiled libraries etc.:
  140. <br><a href="http://freeware.sgi.com">http://freeware.sgi.com</a>
  141. <p>
  142. MacOSX users may go here to download precompiled libraries etc.:
  143. <br><a href="http://fink.sourceforge.net">http://fink.sourceforge.net</a>
  144. <p>
  145. <hr width="100%">
  146. <i>&copy; GRASS Development Team 2001-2013</i>
  147. <p>Please report bugs here:
  148. <br><a href="http://grass.osgeo.org/development/bug-tracking/">http://grass.osgeo.org/development/bug-tracking/</a>
  149. <p>
  150. <i>Last changed: $Date$</i>
  151. </body>
  152. </html>