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

From: "nullo nomine" <nullo(dot)nomine(at)libero(dot)it>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: gmake (--enable-odbc) fails on RH8.0
Date: 2003-04-25 14:46:39
Message-ID: 000f01c30b39$8b1ed180$2301a8c0@cmr.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-ports by date

  From Date Subject
Next Message Dake, David 2003-04-28 18:36:16 Postgresql 7.3 on Unixware 7.1.1
Previous Message naa_hid 2003-04-22 19:17:38 Contact us!