Open derekeder opened 11 years ago
Based on what environment people have, give friendly instructions for
I ultimately wound up installing PostGIS 2.0.2 from source — is there a better way?
On my slightly decrepit MacBook (OS X 10.6.8) the whole path for getting Edifice-ready was:
$ sudo port install postgresql92-server
Then to initialize a default database with Unicode (i.e. template0 and template1, I think)
$ sudo su postgres -c '/opt/local/lib/postgresql92/bin/initdb --locale=en_US.UTF-8 --encoding=UNICODE -D /opt/local/var/db/postgresql92/defaultdb'
Finally, to get the local Postgres database to start and stop on boot:
$ sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql92-server.plist
Then my successful compile of the PostGIS 2.0.2 source code looked like this:
~/src/postgis-2.0.2$ ./configure --with-geosconfig=/Library/Frameworks/GEOS.framework/unix/bin/geos-config --with-projdir='/Library/Frameworks/PROJ.framework//Versions/4/unix' --with-pgconfig=/opt/local/lib/postgresql92/bin/pg_config
This was after installing the GEOS and PROJ frameworks from the http://www.kyngchaos.com/software/frameworks page (very handy -- especially if you want to get QGIS working).
If you have taken notes on other workflows, please post them and we can be as generic and/or specific as possible in the docs.
Based on what environment people have, give friendly instructions for
I ultimately wound up installing PostGIS 2.0.2 from source — is there a better way?
On my slightly decrepit MacBook (OS X 10.6.8) the whole path for getting Edifice-ready was:
Then to initialize a default database with Unicode (i.e. template0 and template1, I think)
Finally, to get the local Postgres database to start and stop on boot:
Then my successful compile of the PostGIS 2.0.2 source code looked like this:
This was after installing the GEOS and PROJ frameworks from the http://www.kyngchaos.com/software/frameworks page (very handy -- especially if you want to get QGIS working).
If you have taken notes on other workflows, please post them and we can be as generic and/or specific as possible in the docs.