Skip to content

Instantly share code, notes, and snippets.

@kluzny
kluzny / postgis.sh
Created February 11, 2016 21:13 — forked from osxi/postgis.sh
Installing postgis from source on OS X because I have to use Postgres 9.4
# 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