gmake (--enable-odbc) fails on RH8.0 - Mailing list pgsql-ports

From nullo nomine
Subject gmake (--enable-odbc) fails on RH8.0
Date
Msg-id 000f01c30b39$8b1ed180$2301a8c0@cmr.net
Whole thread Raw
List pgsql-ports
Hi all,
 
I'm trying to compile postgresql-7.2.3 source under RedHat 8.0.
I already install the unixodbc-2.2.2.3 RPM that comes with the RH8.0 distributions.
 
First of all, I run ./compile with the following options:
--enable-locale
--enable-recode
--enable-multibyte
--enable-nls
--with-perl
--with-python
--with-tcl
--enable-odbc
--with-unixodbc
--with-openssl
--with-pam
--enable-syslog
--enable-depend
 
Then, I run gmake.
 
At this point, gmake fails and said that was found 2 errors.
 
I'm not a programmer, so I don't understood what's the cause of the problem.
One of the last operation that gmake done before stop itself is:
"....
info.c:3713: 'SQL_ERROR' undeclared (first use in this function)
gmake[3]: ***[info.o] Error 1
gmake[3]: Leaving directory '/usr/local/src/postgresql-7.2.3/src/interfaces/odbc'
gmake[3]: *** [all] Error 2
...
"
So, I restart the installation process and run ./compile again without "--enable-odbc --with-unixodbc" option used before.
 
In this case, gmake run correctly without errors.
 
Someone has any suggest?
 
Thank you
Francesco
 

pgsql-ports by date:

Previous
From: naa_hid@yahoo.com
Date:
Subject: Contact us!
Next
From: "Dake, David"
Date:
Subject: Postgresql 7.3 on Unixware 7.1.1