TerraLib and TerraView Wiki Page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:terralib5_environment_macintosh [2013/12/02 16:04]
andre.oliveira [Tools]
wiki:terralib5_environment_macintosh [2014/06/16 10:33] (current)
lubia [Downloading and installing dependencies using brew]
Line 1: Line 1:
-====== Macintosh Environment ======+====== ​TerraLib 5.0 - Macintosh Environment ======
  
 ==== Tools ==== ==== Tools ====
Line 38: Line 38:
  
 ^Library^Version^Website^ ^Library^Version^Website^
-|Proj4 |4.7.0 |[[http://​trac.osgeo.org/​proj| Proj4]]|+|Proj4 |4.8.0 |[[http://​trac.osgeo.org/​proj| Proj4]]|
  
   * terralib_xerces   * terralib_xerces
Line 76: Line 76:
 |QWT |6.1.0 | [[http://​qwt.sourceforge.net| QWT]] | |QWT |6.1.0 | [[http://​qwt.sourceforge.net| QWT]] |
  
-Once the envirnment ​is ready you can download the source code. Follow the instructions ​outlined here [[wiki:​terralib5_download| Download]]+Once the environment ​is ready you can download the source code. Follow the instructions ​at: [[wiki:​terralib5_download| Download]] 
 + 
 +Note: To compile TL5, set the C++ flag -ftemplate-depth=1024 for the srs and  
 +geometry modules. 
 +==== Useful Tips ==== 
 +=== Downloading and installing dependencies using brew === 
 + 
 +1) Install brew  
 + 
 +     $ ruby -e "​$(curl -fsSL https://​raw.github.com/​mxcl/​homebrew/​go/​install)"​ 
 +     $ brew doctor 
 + 
 +2) Install XQuartz from http://​xquartz.macosforge.org/​trac/​wiki/​X112.7.5 
 + 
 +3) Install log4cxx 
 + 
 +     $ brew install -v log4cxx 
 + 
 +Note: It will install the dependencies:​ autoconf, automake, and libtool. 
 + 
 +4) Install PostGIS latest version 
 + 
 +     $ brew install -v postgis --with-gui 
 +   
 +Note: It will install the dependencies:​ postgresql, proj, geos, json-c, gdal 
 + 
 +5) Install xerces-c 
 + 
 +     $ brew install xerces-c 
 + 
 +6)  Install boost 
 + 
 +     $ brew install -v boost 
 + 
 +7) Install qt5 
 + 
 +     $ brew install -v qt5 --developer --with-docs --HEAD 
 + 
 +8) Install qwt 
 + 
 +// download 6.1.0  e qmake nele 
 + 
 + 
 + 
 +=== Downloading and installing dependencies using MacPorts === 
 + 
 +If you are using MAC OSX 10.9 - Mavericks make sure to update your libraries before installing the third-party libraries:​ 
 + 
 +     $ sudo port selfupdate 
 +     $ sudo port upgrade outdated