OSX build of PostgreSQL 8.3.3 with macports

From: "Darren Weber" <darren(dot)weber(dot)lists(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: OSX build of PostgreSQL 8.3.3 with macports
Date: 2008-09-09 23:43:24
Message-ID: b808b3510809091643j2d2af8a7x8a6b938bc55b7250@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

For the record, I've found the following "kitchen sink options" will
build and install on OS X 10.5 with macports.

sudo -i

port install gmake
port install gawk
port install flex
port install bison +yacc
port install openldap
port install openssl
port install libxml
port install libxml2
port install libxmldiff
port install libxmlxx
port install libxmlxx2
port install python25
port install perl5.8 +darwin_9 +threads +shared
port install tcl +threads

## Some of these ports may replace a currently installed port.
## Use 'port deactivate XXX' on the currently installed port XXX.
## Then run the install again to enable the new port.
## Use 'port variants XXX' to identify install candidates.

mkdir -p /usr/src
cd /usr/src
curl -O ftp://ftp5.us.postgresql.org/pub/PostgreSQL/source/v8.3.3/postgresql-8.3.3.tar.gz
tar zxvf postgresql*.tar.gz
cd postgresql-8.3.3
./configure \
--with-includes=/opt/local/include \
--with-libraries=/opt/local/lib \
--with-perl --with-python --with-tcl \
--with-krb5 --with-gssapi --with-pam \
--with-ldap --with-openssl --enable-thread-safety \
--with-bonjour --with-libxml --with-libxslt \
--with-system-tzdata=/usr/share/zoneinfo

## Check config.log to confirm where it found libraries

gmake
# Wait for "All of PostgreSQL successfully made. Ready to install."
gmake install
# Wait for "PostgreSQL installation complete."

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-09-10 00:46:10 Re: syntax error on: GET DIAGNOSTICS xcount = ROW_COUNT;
Previous Message Jeff Davis 2008-09-09 23:27:18 Re: Can interval take a value from a field?