Обсуждение: gmake (--enable-odbc) fails on RH8.0

Поиск
Список
Период
Сортировка

gmake (--enable-odbc) fails on RH8.0

От
"nullo nomine"
Дата:
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