Changes between Version 3 and Version 4 of BuildingOnMac


Ignore:
Timestamp:
Nov 12, 2012, 2:00:00 AM (12 years ago)
Author:
rburhum
Comment:

Add homebrew instructions as an option for OSX

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnMac

    v3 v4  
    1 First of all, you can find a compiled version of GDAL in KyngChaos wiki (http://www.kyngchaos.com). Here, the links:[[BR]]
     1If all you are looking for are pre-compiled binaries, you can find them in the KyngChaos wiki:
     2
    23- GDAL 1.9: http://www.kyngchaos.com/files/software/frameworks/GDAL_Complete-1.9.dmg [[BR]]
    34- GDAL 1.8: http://www.kyngchaos.com/files/software/frameworks/GDAL_Complete-1.8.dmg [[BR]]
    45
    5 But if you're a GDAL developer, you probably want to compile GDAL by yourself. It is possible to compile GDAL in Mac OS, following the instructions from http://www.kyngchaos.com/macosx/build/gdal, but some important things must be taken into account. These are the steps I've followed:
     6
     7If you are looking to build GDAL, you have various options. Here are two:
     8
     9'''The Homebrew way'''
     10
     111.- Follow the instructions to install Homebrew http://mxcl.github.com/homebrew/
     12
     132.- Compile and install the current release version of gdal
     14{{{
     15brew install gdal
     16}}}
     17This will bring any dependencies necessary (PROJ/GEOS/etc) with it, download them and install them.
     18
     19If you want to compile the trunk version of GDAL instead, you can use the following command instead:
     20{{{
     21brew install gdal --HEAD
     22}}}
     23
     24If you want to Compile and Debug using XCode use brew to install gdal, then follow the instructions to setup XCode from here:
     25
     26http://blog.burhum.com/post/35555678746/debugging-makefile-based-projects-using-xcode-gdal-as
     27
     28
     29'''The Framework way'''
     30
     31It is possible to compile GDAL in Mac OS, following the instructions from http://www.kyngchaos.com/macosx/build/gdal, but some important things must be taken into account. These are the steps I've followed:
    632
    733My machine: MacBook with Mac OS X 10.6.8 (Snow Leopard).