Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So the context

  1. Django1.4.x doesn't support postgis2.0 (
  2. Postgres9.2x doesnt support postgis1.5 (

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
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!

share|improve this question

closed as off topic by Sven, rnxrx, Ward, Michael Hampton, Scott Pack Oct 1 '12 at 16:52

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

One solution is to install through the official postgresql installation package:

1) Go to
2) Download the version 9.1.6 of postgresql
3) After the installation, run the Stack Builder
4) Stack Builder: select your postgresql installation and click next
5) Select Categories -> Spatial Extensions -> PostGIS 1.5 for PostgreSQL 9.1 v1.5.3-1
6) Finish the installation.

Perhaps you have to uninstall your previous installation using homebrew.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.