RE: [PHP-DB] compile failure with php4 & odbc
| From: | Aaron Heidel | Date: | Tue, 15 Aug 2000 23:58:17 +0000 |
| Subject: | RE: [PHP-DB] compile failure with php4 & odbc | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2070@lists.php.net to get a copy of this message | ||
Gordon,
I run a similar installation: redhat 6.2 + Openlink odbc + PHP4.0.1pl2. I
ran across this same problem a couple weeks ago, and I found this fix
somewhere in some group (can't remember exactly where, but it worked for
me):
# in /usr/local/openlink/odbcsdk/include/isql.h insert the following line at
~line 9:
typedef long SQLINTEGER_FIX;
# in /usr/src/php-4.0.1pl2/ext/odbc/php_odbc.h insert the following line at
~line 117:
#define SQLINTEGER SQLINTEGER_FIX
Hope that helps.
-aaron heidel
-----Original Message-----
From: systems [mailto:systems@north.police.uk]
Sent: Tuesday, August 15, 2000 3:08 PM
To: php-db@lists.php.net
Subject: [PHP-DB] compile failure with php4 & odbc
Hi, I used configure with mysql, apache, xml and openlink (as I usually do
with php v3) but I get an error when the make gets to the odbc part:
php_odbc.c: in function odbc_column_lengths:
php_odbc.c:606: 'SQLINTEGER' undeclared (first use in this function)
+ a few more lines that come from this.
I can't find any sign of a definition of SQLINTEGER in any header file --
where should it be?
thanks
Gordon Gallacher
(Linux RH6.1; Openlink odbc; PHP4.0.1pl2)
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com