Created
February 5, 2016 19:00
-
-
Save osxi/ea0c6bb8c47c25ffe464 to your computer and use it in GitHub Desktop.
Installing postgis from source on OS X because I have to use Postgres 9.4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adjust paths/versions as necessary (this was just my experience) | |
wget http://download.osgeo.org/postgis/source/postgis-2.2.1.tar.gz | |
tar zxvf postgis-2.2.1.tar.gz | |
cd postgis-2.2.1 | |
./configure --with-pgconfig=/usr/local/bin/pg_config --with-geosconfig=/usr/local/Cellar/geos/3.5.0/bin/geos-config --with-projdir=/usr/local/Cellar/proj/4.9.2 | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment