From:             [EMAIL PROTECTED]
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/ 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
> #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 

Please feel free to contact me if you need any more information...

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to