Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2A2CA64FCD6 for ; Thu, 18 Sep 2008 16:19:02 -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 99790-06 for ; Thu, 18 Sep 2008 16:18:56 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from web65409.mail.ac4.yahoo.com (web65409.mail.ac4.yahoo.com [76.13.9.29]) by postgresql.org (Postfix) with SMTP id 56C3464FCD2 for ; Thu, 18 Sep 2008 16:18:56 -0300 (ADT) Received: (qmail 82064 invoked by uid 60001); 18 Sep 2008 19:18:53 -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=K9diPvJY2MpVCckwCLII4Q8TLgLA3NvLCW7YMtAHbX9cjsJfPWoxOCBCKl0CrpyS4NWsBH9IgP1t0FVR6ZE+Uy/nWUboVCn7KuEKPz6RClVCz7ckP9eo3H2agzFQiqBFsiX4PjE3ULdvOgZwC8n0r5/n6G6o/u4Z8vyozDRUVXQ=; X-YMail-OSG: fY_ldxMVM1lK1kGkcaE.00tIvJow6IZe567Z_OaeuHI5l.UjvYzQEabVV0b1ybWjww-- Received: from [66.116.17.214] by web65409.mail.ac4.yahoo.com via HTTP; Thu, 18 Sep 2008 12:18:53 PDT X-Mailer: YahooMailRC/1096.28 YahooMailWebService/0.7.218.2 Date: Thu, 18 Sep 2008 12:18:53 -0700 (PDT) From: Brent Austin Subject: Re: compiling odbc To: pgsql-odbc@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1595947859-1221765533=:79132" Message-ID: <304534.79132.qm@web65409.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/20 X-Sequence-Number: 9613 --0-1595947859-1221765533=:79132 Content-Type: text/plain; charset=us-ascii My pg_config file is in: /usr/local/pgsql/bin so how do I tell terminal to see that it's there instead of where it thinks it is? ----- Original Message ---- From: Brent Austin To: pgsql-odbc@postgresql.org Sent: Thursday, September 18, 2008 2:15:07 PM Subject: Re: [ODBC] compiling odbc 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-1595947859-1221765533=:79132 Content-Type: text/html; charset=us-ascii
My pg_config file is in:  /usr/local/pgsql/bin  so how do I tell terminal to see that it's there instead of where it thinks it is?


----- Original Message ----
From: Brent Austin <brent1a@yahoo.com>
To: pgsql-odbc@postgresql.org
Sent: Thursday, September 18, 2008 2:15:07 PM
Subject: Re: [ODBC] compiling odbc


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-1595947859-1221765533=:79132--