Skip site navigation (1) Skip section navigation (2)

troubles with configure script on solaris ...

From: Hans-Jürgen Schönig <postgres(at)cybertec(dot)at>
To: pgsql-odbc(at)postgresql(dot)org
Subject: troubles with configure script on solaris ...
Date: 2005-08-11 20:08:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
when testing the ipv6 patch for the most recent version of the odbc 
driver I came across a problem with the configure script on Solaris 9:

[postgres(at)unknown psqlodbc-08.00.0102_64]$ 
CFLAGS='-I/platdb/odbc64/include/' LDFLAGS='-L/platdb/odbc64/lib' 
./configure --prefix=/tmp
checking for a BSD-compatible install... /opt/sfw/bin//ginstall -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... gcc
checking for SQLGetPrivateProfileString in -lodbcinst... no
checking for SQLGetPrivateProfileString in -liodbcinst... no
configure: error: no suitable ODBC driver manager found

i am  trying to compile the code with the command line shown above. 
however, the unix odbc driver manager is not found although it has been 
installed properly:

[postgres(at)unknown psqlodbc-08.00.0102_64]$ ls -l /platdb/
.profile  .tstfile  odbc32    odbc64
[postgres(at)unknown psqlodbc-08.00.0102_64]$ ls -l /platdb/odbc64/lib/libodbc                                       
[postgres(at)unknown psqlodbc-08.00.0102_64]$ ls -l 
lrwxrwxrwx   1 postgres postgres      20 Aug 11 15:17 
/platdb/odbc64/lib/ ->

my compile script works perfectly well with the older odbc driver (7). i 
have seen that some code has been changed inside the build script. maybe 
somebody can point me to a fix.

	best regards,


Cybertec Geschwinde & Schönig GmbH
Schöngrabern 134; A-2020 Hollabrunn
Tel: +43/1/205 10 35 / 340,

pgsql-odbc by date

Next:From: CsabaDate: 2005-08-11 22:02:33
Subject: 'Key violation' error
Previous:From: Hans-Jürgen SchönigDate: 2005-08-11 20:04:55
Subject: Implementing IPv6 ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group