Re: compiling odbc

From: Brent Austin <brent1a(at)yahoo(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: compiling odbc
Date: 2008-09-18 19:18:53
Message-ID: 304534.79132.qm@web65409.mail.ac4.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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(at)yahoo(dot)com>
To: pgsql-odbc(at)postgresql(dot)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(at)sss(dot)pgh(dot)pa(dot)us>
To: Brent Austin <brent1a(at)yahoo(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Sent: Thursday, September 18, 2008 1:52:00 PM
Subject: Re: [ODBC] compiling odbc

Brent Austin <brent1a(at)yahoo(dot)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

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Albe Laurenz 2008-09-19 06:35:20 Re: compiling odbc
Previous Message Brent Austin 2008-09-18 19:15:07 Re: compiling odbc