<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >Building and Installing on MacOS 10</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Pgtcl Reference Manual" HREF="index.html"><LINK REL="UP" TITLE="Building and Installing pgtcl" HREF="pgtcl-make.html"><LINK REL="PREVIOUS" TITLE="Building and Installing on Windows Systems (Borland Compiler)" HREF="pgtcl-make-win.html"><LINK REL="NEXT" TITLE="Loading pgtcl into an Application" HREF="pgtcl-loading.html"><LINK REL="STYLESHEET" TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" CONTENT="2004-11-09T00:53:06"></HEAD ><BODY CLASS="SECT1" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Pgtcl Reference Manual: The PostgreSQL Tcl Interface</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="pgtcl-make-win.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 2. Building and Installing <SPAN CLASS="APPLICATION" >pgtcl</SPAN ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="pgtcl-loading.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="PGTCL-MAKE-MACOS" >2.3. Building and Installing on MacOS 10</A ></H1 ><BLOCKQUOTE CLASS="ABSTRACT" ><DIV CLASS="ABSTRACT" ><P ></P ><A NAME="AEN455" ></A ><P >This section describes how to build and install <SPAN CLASS="PRODUCTNAME" >pgtcl</SPAN > 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. </P ><P ></P ></DIV ></BLOCKQUOTE ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="PGTCL-MAKE-MAC-PREREQ" >2.3.1. Prerequisites for MacOS Systems</A ></H2 ><P >Our successful report building <SPAN CLASS="APPLICATION" >pgtcl</SPAN > on MacOS used: </P ><P ></P ><UL ><LI ><P > MacOS X 10.3.3 </P ></LI ><LI ><P > PostgreSQL 7.4.x </P ></LI ><LI ><P > Aqua Tcl/Tk 8.4.5 </P ></LI ></UL ></DIV ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="PGTCL-MAKE-MAC-MAKE" >2.3.2. Building on MacOS</A ></H2 ><P >The user-submitted configure command for MacOS X follows. It specifies additional link libraries using the <TT CLASS="LITERAL" >EXTRA_LIBS</TT > environment variable. This is used to link in the <SPAN CLASS="PRODUCTNAME" >ssl</SPAN > libraries needed by <SPAN CLASS="APPLICATION" >libpq</SPAN >. </P ><P ></P><PRE CLASS="PROGRAMLISTING" >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 </PRE ><P></P ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="pgtcl-make-win.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="pgtcl-loading.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Building and Installing on Windows Systems (Borland Compiler)</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="pgtcl-make.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Loading <SPAN CLASS="APPLICATION" >pgtcl</SPAN > into an Application</TD ></TR ></TABLE ></DIV ></BODY ></HTML >