Changes

GIS preconf code4libcon2009

5 bytes added, 23:35, 8 February 2009
OSX 10.5.6 macports installation
''sudo make install''
# Add ''/usr/local/postgis-1.3.5/bin'' to ''/etc/paths''
# initialize a database directory in $PGDATA, with a default character encoding of UTF-8 and a root db user with the same name as our login name (I just specified explicitly declared the root user id, since I wasn't sure what value `whoami` would return if the command was being run by root su-ing to the postgres user: ''sudo su postgres -c '/opt/local/lib/postgresql83/bin/initdb -U eos8d -E UTF-8 -W -D /usr/local/pgsql/data' ''
# Start that database: ''sudo su postgres -c '/opt/local/lib/postgresql83/bin/pg_ctl -D /usr/local/pgsql/data start' ''
# Run tests in postgis src directory: ''make check" My output looked like this:
98
edits