Re: compiling odbc

Поиск
Список
Период
Сортировка
От Brent Austin
Тема Re: compiling odbc
Дата
Msg-id 304534.79132.qm@web65409.mail.ac4.yahoo.com
обсуждение исходный текст
Ответ на compiling odbc  (Brent Austin <brent1a@yahoo.com>)
Ответы Re: compiling odbc  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Список 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@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



В списке pgsql-odbc по дате отправления:

Предыдущее
От: Brent Austin
Дата:
Сообщение: Re: compiling odbc
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: compiling odbc