~ : sudo port install postgresql83 postgresql83-server ---> Fetching m4 ---> Attempting to fetch m4-1.4.11.tar.bz2 from http://ftp.gnu.org/gnu/m4 ---> Verifying checksum(s) for m4 ---> Extracting m4 ---> Configuring m4 ---> Building m4 with target all ---> Staging m4 into destroot ---> Installing m4 1.4.11_0 ---> Activating m4 1.4.11_0 ---> Cleaning m4 ---> Fetching bison ---> Attempting to fetch bison-2.3.tar.bz2 from http://ftp.gnu.org/gnu/bison ---> Verifying checksum(s) for bison ---> Extracting bison ---> Configuring bison ---> Building bison with target all ---> Staging bison into destroot ---> Installing bison 2.3_2 ---> Activating bison 2.3_2 ---> Cleaning bison ---> Fetching libxml2 ---> Attempting to fetch libxml2-2.7.1.tar.gz from ftp://fr.rpmfind.net/pub/libxml/ ---> Verifying checksum(s) for libxml2 ---> Extracting libxml2 ---> Configuring libxml2 ---> Building libxml2 with target all ---> Staging libxml2 into destroot ---> Installing libxml2 2.7.1_1 ---> Activating libxml2 2.7.1_1 ---> Cleaning libxml2 ---> Fetching libxslt ---> Attempting to fetch libxslt-1.1.24.tar.gz from http://distfiles.macports.org/libxslt ---> Verifying checksum(s) for libxslt ---> Extracting libxslt ---> Configuring libxslt ---> Building libxslt with target all ---> Staging libxslt into destroot ---> Installing libxslt 1.1.24_0 ---> Activating libxslt 1.1.24_0 ---> Cleaning libxslt ---> Fetching ossp-uuid ---> Attempting to fetch uuid-1.6.1.tar.gz from ftp://ftp.ossp.org/pkg/lib/uuid/ ---> Verifying checksum(s) for ossp-uuid ---> Extracting ossp-uuid ---> Applying patches to ossp-uuid ---> Configuring ossp-uuid ---> Building ossp-uuid with target all ---> Staging ossp-uuid into destroot ---> Installing ossp-uuid 1.6.1_0 ---> Activating ossp-uuid 1.6.1_0 ---> Cleaning ossp-uuid ---> Fetching postgresql83 ---> Attempting to fetch postgresql-8.3.4.tar.bz2 from http://ftp3.de.postgresql.org/pub/Mirrors/ftp.postgresql.org/source/v8.3.4/ ---> Verifying checksum(s) for postgresql83 ---> Extracting postgresql83 ---> Configuring postgresql83 ---> Building postgresql83 ---> Staging postgresql83 into destroot ---> Installing postgresql83 8.3.4_0 To use the postgresql server, install the postgresql83-server port ---> Activating postgresql83 8.3.4_0 ---> Cleaning postgresql83 ---> Fetching postgresql83-server ---> Verifying checksum(s) for postgresql83-server ---> Extracting postgresql83-server ---> Configuring postgresql83-server ---> Building postgresql83-server with target all ---> Staging postgresql83-server into destroot ---> Creating launchd control script ########################################################### # A startup item has been generated that will aid in # starting postgresql83-server with launchd. It is disabled # by default. Execute the following command to start it, # and to cause it to launch at startup: # # sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql83-server.plist ########################################################### ---> Installing postgresql83-server 8.3.4_0 To create a database instance, after install do sudo mkdir -p /opt/local/var/db/postgresql83/defaultdb sudo chown postgres:postgres /opt/local/var/db/postgresql83/defaultdb sudo su postgres -c '/opt/local/lib/postgresql83/bin/initdb -D /opt/local/var/db/postgresql83/defaultdb' To tweak your DBMS, consider increasing kern.sysv.shmmax by adding an increased kern.sysv.shmmax .. to /etc/sysctl.conf ---> Activating postgresql83-server 8.3.4_0 ---> Cleaning postgresql83-server