pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brent Austin <brent1a@yahoo.com>
To: pgsql-odbc@postgresql.org
Subject: Re: compiling odbc
Date: Thu, 18 Sep 2008 12:18:53 -0700 (PDT)
Message-ID: <304534.79132.qm@web65409.mail.ac4.yahoo.com> (raw)

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


      

view thread (17+ messages)  latest in thread

Message-ID: <304534.79132.qm@web65409.mail.ac4.yahoo.com>
Permalink:  ../304534.79132.qm@web65409.mail.ac4.yahoo.com/
Also on:    postgresql.org/message-id/304534.79132.qm@web65409.mail.ac4.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: brent1a@yahoo.com
  Subject: Re: compiling odbc
  In-Reply-To: <304534.79132.qm@web65409.mail.ac4.yahoo.com>
  References: <304534.79132.qm@web65409.mail.ac4.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox