php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10563 missing #defines for ODBC
Submitted: 2001-04-30 13:16 UTC Modified: 2001-05-01 19:24 UTC
From: jareds at visionaryproducts dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (30/04/2001) OS: Linux 2.4.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jareds at visionaryproducts dot com
New email:
PHP Version: OS:

 

 [2001-04-30 13:16 UTC] jareds at visionaryproducts dot com
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...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-01 14:51 UTC] jmoore@php.net
Assigning to dan.
 [2001-05-01 19:24 UTC] sniper@php.net
Fixed in CVS.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 09:01:27 2025 UTC