|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41433 configure fails to include correct db.h
Submitted: 2007-05-18 13:26 UTC Modified: 2007-07-19 10:50 UTC
From: uberlord at gentoo dot org Assigned: jani (profile)
Status: Closed Package: DBM/DBA related
PHP Version: 5.2.2 OS: Gentoo/FreeBSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: uberlord at gentoo dot org
New email:
PHP Version: OS:


 [2007-05-18 13:26 UTC] uberlord at gentoo dot org
ext/dba/config.m4 forces this include if it finds db.h in /usr/include

include "/usr/include/db.h"

This, of course, ignores any CPP flags for where Gentoo actually stores it's db.h file.
Changing it to

include "db.h"


Reproduce code:
CPPFLAGS=-I/usr/include/db4.5 ./configure --with-db4

Expected result:
successful configure

Actual result:
checking for db4 major version... configure: error: Header contains different version


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-17 16:43 UTC]
Just makes me wonder why Gentoo reinvents the wheel (poorly) and puts headers in non-standard places..
 [2007-07-19 10:50 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

And you don't need no stinking CPPFLAGS set now either..
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 22:01:28 2024 UTC