Bug #10563: missing #defines for ODBC
| From: | jareds at visionaryproducts dot com | Date: | Mon, 30 Apr 2001 17:16:03 +0000 |
| Subject: | Bug #10563: missing #defines for ODBC | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53101@lists.php.net to get a copy of this message | ||
From: jareds@visionaryproducts.com
Operating system: Linux 2.4.2
PHP version: 4.0 Latest CVS (30/04/2001)
PHP Bug Type: Compile Problem
Bug description: missing #defines for ODBC
php4/main/build-defs.h.in is missing 3 #define's for ODBC to compile correctly. (From looking
at the CVS mailing list, it looks like they were included in a mega-patch that was rejected.)
Here's a diff that fixes the problem. The problem is that PHP_ODBC_INCLUDE, PHP_ODBC_LFLAGS,
and PHP_ODBC_LIBS are undefined.
diff -r1.5 build-defs.h.in
51a52,54
> #define PHP_ODBC_INCLUDE "@ODBC_INCLUDE@"
> #define PHP_ODBC_LFLAGS "@ODBC_LFLAGS@"
> #define PHP_ODBC_LIBS "@ODBC_LIBS@"
My configure line is as follows:
./configure --with-apxs --with-custom-odbc=/usr/local/odbc --with-openssl --with-gd --disable-debug
Please feel free to contact me if you need any more information...
--
Edit Bug report at: http://bugs.php.net/?id=10563&edit=1