So the context
- Django1.4.x doesn't support postgis2.0 (https://code.djangoproject.com/ticket/16455)
- Postgres9.2x doesnt support postgis1.5 (http://trac.osgeo.org/postgis/wiki/UsersWikiPostgreSQLPostGIS)
So to get the 3 playing together nicely, I have to go django1.4 with postgis1.5 and postgres9.1x.
The problem is, installing postgis15
$ brew tap homebrew/versions
$ brew install postgis15
tries firstly to install postgres9.2.1 as a dependency which I dont want. In anycase, I still get the following error
nai@nyc ~ $ brew install postgis15
==> Downloading http://postgis.refractions.net/download/postgis-1.5.3.tar.gz
Already downloaded: /Users/nai/Library/Caches/Homebrew/postgis15-1.5.3.tar.gz
==> ./configure --with-projdir=/usr/local --with-pgconfig=/usr/local/Cellar/postgresql/9.2.1/bin/pg_config
==> make
num2_tuples = reltup->reltuples;
^
4 errors generated.
make[1]: *** [lwgeom_estimate.o] Error 1
make: *** [postgis] Error 2
Im completely stuck as to how to get those versions working together nicely using brew!