Pgtcl Reference Manual: The PostgreSQL Tcl Interface | ||
---|---|---|
Prev | Chapter 2. Building and Installing pgtcl | Next |
Our successful report building pgtcl on MacOS used:
MacOS 10.3.3
PostgreSQL 7.4.2
Aqua Tcl/Tk 8.4.5
The report of building pgtcl on MacOS included a configure command, edits to the Makefile, and then build success. In response to this report, a feature was added allowing additional link libraries to be specified with EXTRA_LIBS. This is used to link in the ssl libraries needed by libpq. The following example of configuring and building pgtcl on MacOS has not been tested, however.
EXTRA_LIBS='-lssl -lcrypto' \ ./configure --prefix=/usr/local \ --libdir=/usr/local/lib \ --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