Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2159A64FCEC for ; Thu, 18 Sep 2008 15:52:05 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 88175-03 for ; Thu, 18 Sep 2008 15:52:01 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 9021064FCD2 for ; Thu, 18 Sep 2008 15:52:01 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m8IIq0GM024743; Thu, 18 Sep 2008 14:52:00 -0400 (EDT) To: Brent Austin cc: pgsql-odbc@postgresql.org Subject: Re: compiling odbc In-reply-to: <523798.40504.qm@web65412.mail.ac4.yahoo.com> References: <523798.40504.qm@web65412.mail.ac4.yahoo.com> Comments: In-reply-to Brent Austin message dated "Thu, 18 Sep 2008 11:10:15 -0700" Date: Thu, 18 Sep 2008 14:52:00 -0400 Message-ID: <24742.1221763920@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/18 X-Sequence-Number: 9611 Brent Austin writes: > I am attempting to compile and install psqlodbc-08.03.0200 on my Mac Pro running Leopard. > checking for pg_config... no > configure: error: pg_config not found (set PG_CONFIG environment variable) > How do I fix "configure: error: pg_config not found (set PG_CONFIG environment variable)" Probably means you don't have Postgres itself installed. On some platforms it could mean that you don't have the postgresql-devel subpackage installed, but I've not heard that anyone divides up the package like that on OS X. Another possibility is that PG is installed, but in a directory that's not in your PATH. regards, tom lane