X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 39F18D1E0F7 for ; Mon, 5 Apr 2004 13:12:44 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 53946-02 for ; Mon, 5 Apr 2004 10:13:11 -0300 (ADT) Received: from mail.sells.com (mail.sells.com [204.107.136.10]) by svr1.postgresql.org (Postfix) with ESMTP id 81CC9D1E140 for ; Mon, 5 Apr 2004 10:12:41 -0300 (ADT) Received: from [192.168.5.55] (192.168.5.55) by mail.sells.com with ESMTP (Eudora Internet Mail Server 3.2.3); Mon, 5 Apr 2004 08:13:17 -0500 Mime-Version: 1.0 X-Sender: aspeitia@mail.int.sells.com Message-Id: In-Reply-To: <20040405121545.62177.qmail@web41006.mail.yahoo.com> References: <20040405121545.62177.qmail@web41006.mail.yahoo.com> Date: Mon, 5 Apr 2004 08:13:19 -0500 To: pgsql-odbc@postgresql.org From: Ray Aspeitia Subject: Re: odbc and mac os x Cc: Theodore Petrosky Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/27 X-Sequence-Number: 3922 >I all the discussions of working with the odbc >release, if anyone can help with creating >documentation on how to compile for OS X, it would >really help. > >I don't have the skill set to figure out what the >problem is and am at a loss. I did recieve a binary >from someone so I know it works, but for the life of >me I have not been able to compile it. > >I have posted about the problem before but never got >anywhere. > >Ted > Not sure what your problem is exactly but the following compile options work for me for psqlodbc-7.2.5 on OSX Server 10.3.x. There are two files that don't normally exist, that you must create, /Library/ODBC/odbc.ini, /Library/ODBC/odbcinst.ini ./configure --enable-pthreads --with-iodbc make sudo make install note create the following files in the locations shown after installing the psqlodbc driver if they already exist, just add the contents as necessary /Library/ODBC/odbc.ini ------------------------------------------------------ [ODBC] Trace = 0 TraceAutoStop = 0 TraceFile = TraceLibrary = [ODBC Data Sources] PostgreSQL_DSN_name = PostgreSQL [PostgreSQL_DSN_name] Driver = /usr/local/lib/psqlodbc.so Description = Some DB description Database = my_db_name Servername = localhost ------------------------------------------------------ /Library/ODBC/odbcinst.ini ------------------------------------------------------ [ODBC Drivers] PostgreSQL = Installed [ODBC Connection Pooling] PerfMon = 0 [PostgreSQL] Driver = /usr/local/lib/psqlodbc.so Debug = 0 CommLog = 1 ------------------------------------------------------