Problems compiling odbc
Problems compiling odbc
От:
Chris Hoover <revoohc@gmail.com>
Дата:
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
[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
Re: Problems compiling odbc
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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/
Re: Problems compiling odbc
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Peter Eisentraut 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
Re: Problems compiling odbc
От:
Chris Hoover <revoohc@gmail.com>
Дата:
Thanks,
Installing the development package for the unixODBC fixed the problem.
chris
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