Changes between Version 8 and Version 9 of BuildingOnMac


Ignore:
Timestamp:
Aug 28, 2020, 3:00:18 AM (4 years ago)
Author:
Robert Coup
Comment:

Add better homebrew instructions, hide old "Framework way", link to BuildingOnUnix

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnMac

    v8 v9  
    1 If all you are looking for are pre-compiled binaries, you can find them in the KyngChaos wiki:
     1If all you are looking for are pre-compiled binaries for macOS, you can get them either:
    22
    3 Last version of GDAL: http://www.kyngchaos.com/software/frameworks#gdal_complete
     31. At !KyngChaos: http://www.kyngchaos.com/software/frameworks#gdal_complete
    44
    5 But if you need to build GDAL, you have various options. Here are two:
     52. Using [https://brew.sh Homebrew] via `brew install gdal`
    66
    7 '''The Homebrew way'''
     7Both include any dependencies necessary (PROJ/GEOS/etc).
    88
    9 1.- Follow the instructions to install Homebrew http://mxcl.github.com/homebrew/
     9----
    1010
    11 2.- Compile and install the current release version of gdal
    12 {{{
    13 brew install gdal
    14 }}}
    15 This will bring any dependencies necessary (PROJ/GEOS/etc) with it, download them and install them.
     11But if you need to build GDAL, you have a couple of options.
    1612
    17 If you want to compile the trunk version of GDAL instead, you can use the following command:
    18 {{{
    19 brew install gdal --HEAD
    20 }}}
     131. [https://brew.sh Homebrew] can do it all for you: `brew install gdal --HEAD`
    2114
    22 If you want to Compile and Debug using XCode, use brew to install gdal, then follow the instructions to setup XCode from here:
     152. Follow the BuildingOnUnix instructions.
     16  * Make sure you have [https://brew.sh Homebrew] installed, which will setup XCode & the build tools for you as well.
     17  * To easily get all the available dependencies, use Homebrew: `brew install gdal —-only-dependencies`
     18  * Clone the GDAL source code from Github
     19  * Configure & Make following BuildingOnUnix
     20  * If you want to make sure you're using Homebrew's Python, use `./configure --with-python=/usr/local/opt/python3/bin/python3`
    2321
    24 http://blog.burhum.com/post/35555678746/debugging-makefile-based-projects-using-xcode-gdal-as
     22If you want to Compile and Debug using XCode, use brew to install gdal, then follow the instructions to setup XCode from here: http://blog.burhum.com/post/35555678746/debugging-makefile-based-projects-using-xcode-gdal-as
    2523
     24----
     25
     26'' !Beware! This information is old and quite possibly broken. ''
    2627
    2728'''The Framework way'''