pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brent Austin <brent1a@yahoo.com>
To: Zoltan Boszormenyi <zb@cybertec.at>
Cc: pgsql-odbc@postgresql.org
Subject: Re: compiling odbc
Date: Mon, 22 Sep 2008 10:28:49 -0700 (PDT)
Message-ID: <361567.58269.qm@web65412.mail.ac4.yahoo.com> (raw)

That's the thing, I have unixODBC installed, it is located at /opt/local/bin that is why I need help figuring out how to get the terminal to recognize where both pg_config AND obdcinst are at during the ./configure process.  
PATH=$PATH:/usr/local/pgsql/bin:/opt/local/bin   should work but it's not recognizing the second part.....the odncinst part.



----- Original Message ----
From: Zoltan Boszormenyi <zb@cybertec.at>
To: Brent Austin <brent1a@yahoo.com>
Cc: Jeremy Faith <jfaith@cemsys.com>; pgsql-odbc@postgresql.org
Sent: Monday, September 22, 2008 5:36:19 AM
Subject: Re: [ODBC] compiling odbc

Brent Austin írta:
> I still get this:   
> client-66-1xx-1x-x14:~ brent1a$
> PATH=$PATH:/usr/local/pgsql/bin:/opt/local/bin
> client-66-1xx-1x-x14:~ brent1a$ cd /psqlodbc-08.03.0200 
> client-66-1xx-1x-x14:psqlodbc-08.03.0200 brent1a$ sudo ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for pg_config... /usr/local/pgsql/bin/pg_config
> checking for gcc... gcc
> ...........
> checking how to hardcode library paths into programs... immediate
> checking for library containing SQLGetPrivateProfileString... no
> *configure: error: unixODBC library "odbcinst" not found*
> client-66-1xx-1x-x14:psqlodbc-08.03.0200 brent1a$

You need unixODBC or iODBC installed. unixODBC is used by default,
you can change the expected ODBC manager with option --with-iodbc.

> ----- Original Message ----
> From: Jeremy Faith <jfaith@cemsys.com>
> To: pgsql-odbc@postgresql.org
> Sent: Monday, September 22, 2008 4:06:28 AM
> Subject: Re: [ODBC] compiling odbc
>
> Hi,
>
> I think what Tom is saying is to try:-
>   PATH=$PATH:/usr/local/pgsql:/opt/local/bin
>
> Regards,
> Jeremy Faith
>
> Brent Austin wrote:
> > Yes, two PATH items, I guess.
> > "export PATH=$PATH:/usr/local/pgsql"
> > 
> > takes care of:
> > 
> > "checking for pg_config... no
> > configure: error: pg_config not found (set PG_CONFIG environment
> > variable)"
> > 
> > How can I take care of the following as well with out messing up the
> > above?
> >
> > "configure: error: unixODBC library "odbcinst" not found"
> >
> > (I found "odbcinst" is in my /opt/local/bin)
> >
> > ----- Original Message ----
> > From: Tom Lane <tgl@sss.pgh.pa.us <mailto:tgl@sss.pgh.pa.us>>
> > To: Brent Austin <brent1a@yahoo.com <mailto:brent1a@yahoo.com>>
> > Cc: Jeremy Faith <jfaith@cemsys.com <mailto:jfaith@cemsys.com>>;
> pgsql-odbc@postgresql.org <mailto:pgsql-odbc@postgresql.org>
> > Sent: Friday, September 19, 2008 3:11:36 PM
> > Subject: Re: [ODBC] compiling odbc
> >
> > Brent Austin <brent1a@yahoo.com <mailto:brent1a@yahoo.com>
> <mailto:brent1a@yahoo.com <mailto:brent1a@yahoo.com>>> writes:
> > > How do I tell configure that pgsql is in /usr/local/pgsql and ALSO
> > tell it that obcinst is in /opt/local/bin ???
> >
> > Two PATH items?
> >
> >            regards, tom lane
> >
>
>
> -- 
> Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org
> <mailto:pgsql-odbc@postgresql.org>)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-odbc
>


-- 
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
http://www.postgresql.at/


      

view thread (17+ messages)  latest in thread

Message-ID: <361567.58269.qm@web65412.mail.ac4.yahoo.com>
Permalink:  ../361567.58269.qm@web65412.mail.ac4.yahoo.com/
Also on:    postgresql.org/message-id/361567.58269.qm@web65412.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, zb@cybertec.at
  Subject: Re: compiling odbc
  In-Reply-To: <361567.58269.qm@web65412.mail.ac4.yahoo.com>
  References: <361567.58269.qm@web65412.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