2.4. Building and Installing on MacOS 10

This section describes how to build and install pgtcl on MacOS X 10 systems. This information was provided by a user and has not been verified by the developers or authors. It is provided in the hope that it will be useful to others.

2.4.1. Prerequisites for MacOS Systems

Our successful report building pgtcl on MacOS used:

  • MacOS X 10.3.3

  • PostgreSQL 7.4.x

  • Aqua Tcl/Tk 8.4.5

2.4.2. Building on MacOS

The user-submitted configure command for MacOS X follows. It specifies additional link libraries using the EXTRA_LIBS environment variable. This is used to link in the ssl libraries needed by libpq.

EXTRA_LIBS='-lssl -lcrypto' \
./configure --prefix=/usr/local \
  --libdir=/Library/Tcl \
  --with-postgres-include=/usr/local/pgsql/include \
  --with-postgres-lib=/usr/local/pgsql/lib \
  --with-tcl=/Library/Frameworks/Tcl.framework \
  --with-tclinclude=/Library/Frameworks/Tcl.framework/Headers
  
SourceForge.net Logo

This version of the manual was produced for the Pgtcl-ng Sourceforge project web service site, which requires the logo on each page.

To download a logo-free copy of the manual, see the Pgtcl-ng project downloads area.