Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id A6B9964FCCF for ; Fri, 19 Sep 2008 15:25:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 07097-03 for ; Fri, 19 Sep 2008 15:25:34 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from web65409.mail.ac4.yahoo.com (web65409.mail.ac4.yahoo.com [76.13.9.29]) by postgresql.org (Postfix) with SMTP id DF48364FCC7 for ; Fri, 19 Sep 2008 15:25:33 -0300 (ADT) Received: (qmail 2647 invoked by uid 60001); 19 Sep 2008 18:25:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=ekrEjlSaWjbdb/l/bt/vomKGv9G9ghBOCLUPeK+laDogMUsCuxBYbN8hhT1r0NnkVZl9/H41egwPUXJ9eUwTsVH4aStLdf8gZbEJcabC5y+mQGOVUko7zi/hc0UCSw65FaKMPzKMGxPHtRisB/VHBXSas0wpCP8vq2YjLf19WEU=; X-YMail-OSG: wuIjOHgVM1nLgsQmwqT2aMszH.DkuX4tV_5okO01_wuqlLfU2v5JWUJ2YIKFPjATT1GDqRIRMBIPMepLmD1JIwhCrBxbf.cMQOrIaeHlDTIztW1wjTp1mFKciT1tdc9piO5yc5287zzUjrC3lwm4zpAGfxi2lZIqXHRwa9Rbm_Q9wWIxHYE- Received: from [66.116.17.214] by web65409.mail.ac4.yahoo.com via HTTP; Fri, 19 Sep 2008 11:25:31 PDT X-Mailer: YahooMailRC/1096.28 YahooMailWebService/0.7.218.2 Date: Fri, 19 Sep 2008 11:25:31 -0700 (PDT) From: Brent Austin Subject: Re: compiling odbc To: Jeremy Faith , pgsql-odbc@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-524070078-1221848731=:1781" Message-ID: <3889.1781.qm@web65409.mail.ac4.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200809/25 X-Sequence-Number: 9618 --0-524070078-1221848731=:1781 Content-Type: text/plain; charset=us-ascii I got export PATH=$PATH:/usr/local/pgsql to work but now I get: "configure: error: unixODBC library "odbcinst" not found" I found that "odbcinst" is in my /opt/local/bin How do I tell configure that pgsql is in /usr/local/pgsql and ALSO tell it that obcinst is in /opt/local/bin ??? ----- Original Message ---- From: Jeremy Faith To: pgsql-odbc@postgresql.org Sent: Friday, September 19, 2008 6:35:23 AM Subject: Re: [ODBC] compiling 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 > > -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc --0-524070078-1221848731=:1781 Content-Type: text/html; charset=us-ascii
I got export PATH=$PATH:/usr/local/pgsql to work

but now I get:
"configure: error: unixODBC library "odbcinst" not found"

I found that "odbcinst" is in my /opt/local/bin

How do I tell configure that pgsql is in /usr/local/pgsql and ALSO tell it that obcinst is in /opt/local/bin ???




----- Original Message ----
From: Jeremy Faith <jfaith@cemsys.com>
To: pgsql-odbc@postgresql.org
Sent: Friday, September 19, 2008 6:35:23 AM
Subject: Re: [ODBC] compiling 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
>
> 


--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

--0-524070078-1221848731=:1781--