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/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



-- 
PHP Development Mailing List <http://www.php.net/>
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