pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problems compiling odbc
4+ messages / 3 participants
[nested] [flat]

* Problems compiling odbc
@ 2005-10-14 18:56  Chris Hoover <revoohc@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Chris Hoover @ 2005-10-14 18:56 UTC (permalink / raw)
  To: pgsql-odbc

I'm trying to install psqlodbc-08.00.0102 on my RedHat AS 4.0 box. However,
when I try to run the configure script it abends. Please help diagnose this
problem so I can get the newer odbc driver in install.

[root@editstdb1 psqlodbc-08.00.0102]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for SQLGetPrivateProfileString in -lodbcinst... no
checking for SQLGetPrivateProfileString in -liodbcinst... no
configure: error: no suitable ODBC driver manager found

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Problems compiling odbc
@ 2005-10-14 19:27  Peter Eisentraut <peter_e@gmx.net>
  parent: Chris Hoover <revoohc@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Peter Eisentraut @ 2005-10-14 19:27 UTC (permalink / raw)
  To: Chris Hoover <revoohc@gmail.com>; +Cc: pgsql-odbc

Chris Hoover wrote:
> checking for SQLGetPrivateProfileString in -lodbcinst... no
> checking for SQLGetPrivateProfileString in -liodbcinst... no
> configure: error: no suitable ODBC driver manager found

You need to install the development package for the driver manager.  The 
package might be called unixodbc-devel or iodbc-devel or similar.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Problems compiling odbc
@ 2005-10-14 19:50  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 4+ messages in thread

From: Tom Lane @ 2005-10-14 19:50 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: Chris Hoover <revoohc@gmail.com>; pgsql-odbc

Peter Eisentraut <peter_e@gmx.net> writes:
> Chris Hoover wrote:
>> checking for SQLGetPrivateProfileString in -lodbcinst... no
>> checking for SQLGetPrivateProfileString in -liodbcinst... no
>> configure: error: no suitable ODBC driver manager found

> You need to install the development package for the driver manager.  The 
> package might be called unixodbc-devel or iodbc-devel or similar.

You may also need an explicit --with-unixodbc on the configure line;
leastwise that's what Red Hat's RPM does.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Problems compiling odbc
@ 2005-10-14 20:55  Chris Hoover <revoohc@gmail.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Chris Hoover @ 2005-10-14 20:55 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Peter Eisentraut <peter_e@gmx.net>; pgsql-odbc

Thanks,

Installing the development package for the unixODBC fixed the problem.

chris

On 10/14/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Peter Eisentraut <peter_e@gmx.net> writes:
> > Chris Hoover wrote:
> >> checking for SQLGetPrivateProfileString in -lodbcinst... no
> >> checking for SQLGetPrivateProfileString in -liodbcinst... no
> >> configure: error: no suitable ODBC driver manager found
>
> > You need to install the development package for the driver manager. The
> > package might be called unixodbc-devel or iodbc-devel or similar.
>
> You may also need an explicit --with-unixodbc on the configure line;
> leastwise that's what Red Hat's RPM does.
>
> regards, tom lane
>

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2005-10-14 20:55 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-10-14 18:56 Problems compiling odbc Chris Hoover <revoohc@gmail.com>
2005-10-14 19:27 ` Peter Eisentraut <peter_e@gmx.net>
2005-10-14 19:50   ` Tom Lane <tgl@sss.pgh.pa.us>
2005-10-14 20:55     ` Chris Hoover <revoohc@gmail.com>

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