Skip site navigation (1) Skip section navigation (2)

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:15:07
Message-ID: 751504.65557.qm@web65411.mail.ac4.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-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


      

pgsql-odbc by date

Next:From: Brent AustinDate: 2008-09-18 19:18:53
Subject: Re: compiling odbc
Previous:From: Tom LaneDate: 2008-09-18 18:52:00
Subject: Re: compiling odbc

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group