php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43389 configure ignoring --without-cdb flag
Submitted: 2007-11-23 13:42 UTC Modified: 2008-03-17 21:02 UTC
From: akbsol at yahoo dot co dot in Assigned:
Status: Wont fix Package: Compile Failure
PHP Version: 4.4.7 OS: Debian Sarge
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2007-11-23 13:42 UTC] akbsol at yahoo dot co dot in
Description:
------------
As described in a previous bug report:

http://bugs.php.net/bug.php?id=38290

configure is still ignoring the --without-cdb flag and buliding php with builtin cdb support.

Reproduce code:
---------------
./configure --enable-dba --with-gdbm --without-cdb --without-inifile --without-flatfile

Expected result:
----------------
While configuring it should show:

checking for xDBM support... no
checking whether to enable DBA... yes
checking for gdbm_open in -lgdbm... yes
checking for GDBM support... yes
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... yes

And after compiling, running php -i should show only gdbm as the only supported handler:

dba

DBA support => enabled
Supported handlers => gdbm

Actual result:
--------------
While configuring it shows:

checking for xDBM support... no
checking whether to enable DBA... yes
checking for gdbm_open in -lgdbm... yes
checking for GDBM support... yes
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DBM support... no
checking for CDB support... builtin
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... yes

And after building php -i confirms the support of cdb:

dba

DBA support => enabled
Supported handlers => gdbm cdb cdb_make 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-17 00:53 UTC] jani@php.net
We are sorry, but we can not support PHP 4 related problems anymore.
Momentum is gathering for PHP 6, and we think supporting PHP 4 will
lead to a waste of resources which we want to put into getting PHP 6
ready.


 [2008-03-17 11:21 UTC] akbsol at yahoo dot co dot in
Its ok. All the best to you for PHP 6. I would rather stay with v4 as unlike PHP 5 and higher its not hungry for memory. I modified the config file by hand and was able to implement the changes I wanted in it. Thanks for replying anyways.

Regards,
Akash
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Dec 01 12:02:32 2020 UTC