Re: compiling odbc - Mailing list pgsql-odbc

From Jeremy Faith
Subject Re: compiling odbc
Date
Msg-id 48D38E7B.5040101@cemsys.com
Whole thread Raw
In response to Re: compiling odbc  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
List pgsql-odbc
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
>
>


pgsql-odbc by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: compiling odbc
Next
From: Brent Austin
Date:
Subject: Re: compiling odbc