From: Jeremy Faith <jfaith@cemsys.com>
To: pgsql-odbc@postgresql.org
Subject: Re: compiling odbc
Date: Fri, 19 Sep 2008 12:35:23 +0100
Message-ID: <48D38E7B.5040101@cemsys.com> (raw)
In-Reply-To: <D960CB61B694CF459DCFB4B0128514C2028552CC@exadv11.host.magwien.gv.at>
References: <466860.10875.qm@web65401.mail.ac4.yahoo.com>
<D960CB61B694CF459DCFB4B0128514C2028552CC@exadv11.host.magwien.gv.at>
Hi,
Brent Austin wrote:
> 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?
>
> would this fix it:
>
> export PATH=$PATH:/usr/local/psql
Could this be as simple as the 'g' being missing from the pgsql directory in the PATH?
i.e.
export PATH=$PATH:/usr/local/psql
should be
export PATH=$PATH:/usr/local/pgsql
and
export PG_CONFIG=/usr/local/psql/bin/pg_config
should be
export PG_CONFIG=/usr/local/pgsql/bin/pg_config
Regards,
Jeremy Faith
Albe Laurenz wrote:
>> So far this is what I get when I try that command-
>>
>> client-66-1xx-17-xx4:~ brent1a$ export PATH=$PATH:/usr/local/psql/bin
>>
>> client-66-1xx-17-xx4:~ brent1a$ cd /psqlodbc-08.03.0200
>>
>> client-66-1xx-17-xx4:psqlodbc-08.03.0200 brent1a$ sudo ./configure
>>
>>
> [...]
>
>> configure: error: pg_config not found (set PG_CONFIG environment variable)
>>
>
> Yeah, sure.
>
> You should omit the "sudo", it's wrong.
>
> But maybe it's best to follow the instructions you get and
> export PG_CONFIG=/usr/local/psql/bin/pg_config
>
> Yours,
> Laurenz Albe
>
>
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: jfaith@cemsys.com
Subject: Re: compiling odbc
In-Reply-To: <48D38E7B.5040101@cemsys.com>
References: <466860.10875.qm@web65401.mail.ac4.yahoo.com> <D960CB61B694CF459DCFB4B0128514C2028552CC@exadv11.host.magwien.gv.at> <48D38E7B.5040101@cemsys.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