Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 59E3864FCD2 for ; Thu, 18 Sep 2008 16:15:17 -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 99111-01 for ; Thu, 18 Sep 2008 16:15:12 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from web65411.mail.ac4.yahoo.com (web65411.mail.ac4.yahoo.com [76.13.9.31]) by postgresql.org (Postfix) with SMTP id AAA4F64FCCF for ; Thu, 18 Sep 2008 16:15:12 -0300 (ADT) Received: (qmail 70477 invoked by uid 60001); 18 Sep 2008 19:15:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=M5ebJ5uEdsXQGtSKq/E3hx3PwAR3aqvIwx92I9+Ym9F+88Ra4la25z6+x+c5KPd7de7z4Mai+i2ZI91bH0+lUGGBgGxtpDsxa4ioClLyddSLoGZ0pJ+U9oIal+qW/wOzDaFWVtqXF3C9mY+lAa8r9rxxWWcYMW9h4MOrUjZagXg=; X-YMail-OSG: YQ8rDdIVM1nGSt9XeQDBMWbT553_qdSBxDoDtXKP3.vrWec7.i5dlh27vLzg1ZHKwKDWLBapaq1RJWltkf6DcwFcdG8htZZ0l7BdRFouS5AHEHMpBRyvU7thpisKbpRJcmoOHDS1jTvLoZ2BJ19x7rH3PqzpX1RQI9S4pLjG.pd44Qa0mYY- Received: from [66.116.17.214] by web65411.mail.ac4.yahoo.com via HTTP; Thu, 18 Sep 2008 12:15:07 PDT X-Mailer: YahooMailRC/1096.28 YahooMailWebService/0.7.218.2 Date: Thu, 18 Sep 2008 12:15:07 -0700 (PDT) From: Brent Austin Subject: Re: compiling odbc To: pgsql-odbc@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1630071379-1221765307=:65557" Message-ID: <751504.65557.qm@web65411.mail.ac4.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.607 tagged_above=0 required=5 tests=HTML_FONT_FACE_BAD=0.606, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200809/19 X-Sequence-Number: 9612 --0-1630071379-1221765307=:65557 Content-Type: text/plain; charset=us-ascii I just installed the latest Postgres from source so everything needed should be there. Some of the things I've been installing recently have not had the right PATH but I thought I fixed that. What would fix this problem? I think postgres is installed in: /usr/local/psql would this fix it: export PATH=$PATH:/usr/local/psql or maybe echo "export PATH=\"/usr/local/psql:$PATH\"" >>.bash_profile ----- Original Message ---- From: Tom Lane To: Brent Austin Cc: pgsql-odbc@postgresql.org Sent: Thursday, September 18, 2008 1:52:00 PM Subject: Re: [ODBC] compiling odbc 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 --0-1630071379-1221765307=:65557 Content-Type: text/html; charset=us-ascii

I just installed the latest Postgres from source so everything needed should be there. Some of the things I've been installing recently have not had the right PATH but I thought I fixed that. What would fix this problem?
I think postgres is installed in:
/usr/local/psql

would this fix it:

export PATH=$PATH:/usr/local/psql

or maybe

echo "export PATH=\"/usr/local/psql:$PATH\"" >> .bash_profile


----- Original Message ----
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Brent Austin <brent1a@yahoo.com>
Cc: pgsql-odbc@postgresql.org
Sent: Thursday, September 18, 2008 1:52:00 PM
Subject: Re: [ODBC] compiling odbc

Brent Austin <brent1a@yahoo.com> 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


--0-1630071379-1221765307=:65557--