Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:terralib5_environment_macintosh [2014/01/10 08:57] lubia [Tips] |
wiki:terralib5_environment_macintosh [2014/06/16 10:33] (current) lubia [Downloading and installing dependencies using brew] |
||
---|---|---|---|
Line 78: | Line 78: | ||
Once the environment is ready you can download the source code. Follow the instructions at: [[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 ==== | ==== Useful Tips ==== | ||
=== Downloading and installing dependencies using brew === | === Downloading and installing dependencies using brew === | ||
Line 94: | Line 96: | ||
Note: It will install the dependencies: autoconf, automake, and libtool. | Note: It will install the dependencies: autoconf, automake, and libtool. | ||
- | 4) Install PostGIS version 2.0 | + | 4) Install PostGIS latest version |
- | $ brew install -v postgis20 --with-gui | + | $ brew install -v postgis --with-gui |
| | ||
Note: It will install the dependencies: postgresql, proj, geos, json-c, gdal | Note: It will install the dependencies: postgresql, proj, geos, json-c, gdal | ||
Line 108: | Line 110: | ||
$ brew install -v boost | $ brew install -v boost | ||
- | 7) Install qt4 | + | 7) Install qt5 |
- | $ brew install -v qt --developer --with-docs --HEAD | + | $ brew install -v qt5 --developer --with-docs --HEAD |
8) Install qwt | 8) Install qwt | ||
- | $ brew install -v 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 | ||
- | Note: To compile TL5, set the C++ flag -ftemplate-depth=1024 for the srs and | ||
- | geometry modules. |