php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33393 Configure dont detect db4.h outside standard pathes
Submitted: 2005-06-18 13:55 UTC Modified: 2005-06-18 15:29 UTC
From: joerg@php.net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5CVS-2005-06-18 (dev) OS: IRIX 6.5.27
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: joerg@php.net
New email:
PHP Version: OS:

 

 [2005-06-18 13:55 UTC] joerg@php.net
Description:
------------
Trying to compile php with db4 support as an shared extension wont work and configure stops with the
..
checking for db4 major version... configure: error: Header contains different version
..
message. This only happens when your headerfiles stay outside the standard pathes *and* when using the 'shared' parameter.

It works like a charm with "--with-db4=/usr/nekoware"




Reproduce code:
---------------
Just run the configure

./configure --disable-all --with-db4=shared,/usr/nekoware

Expected result:
----------------
A propper configure run.

Actual result:
--------------
It stops with an error message

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-18 15:29 UTC] sniper@php.net
Who said those options accept such strings? =)
You have to use --enable-dba=shared to get a shared extension.
I added a note to the configure help about this.

(yes, I know it's inconsistent, not my fault..;)

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 18 14:00:02 2025 UTC