psqlodbc on hp-ux

psqlodbc on hp-ux

am 30.08.2006 02:16:23 von jonesj

I'm trying to install psqlodbc-08.01.0200 on HP-UX 11iv1 but have had
trouble with the configure script.
A prior entry in the mailing list archives (from 10/14/05, titled "Problems
compiling odbc") had a very similar situation with two recommendations:
a) use an explicit --with-unixodbc option with configure, and b) install the
development package for the driver manager.

Following the first suggestion helped but I still have the error message
below. The development package for unixodbc appears to be available only as
an rpm, whereas I would need source code to compile on HP-UX. I've gone
through the same procedure with iodbc instead of unixodbc, with the same
results.

I'd appreciate any suggestions as to how to get around this problem.
Thanks so much,
John Jones

# ./configure --prefix=/opt/psqlODBC --enable-gui=no --sysconfdir=/etc
--with-unixodbc
checking for a BSD-compatible install... ./install-sh -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 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
configure: error: unixODBC driver manager not found
#

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org