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 |