Compile Error: DBA Could not find necessary header file
Error when compiling php
checking for cURL support... no
checking if we should use cURL for url streams... no
checking for QDBM support... no
configure: error: DBA: Could not find necessary header file(s).
How do you install that? I've tried sudo apt-get install gdbm-devel but that gave me "E: Unable to locate package gdbm-devel" and I also tried yum install gdbm-devel but only got No package gdbm-devel available.
I was able to install gdbm-devel using yum on my CentOS 6.3. If you are not using CentOS or RHEL, then I could not help but you could check rpmfind.net and see if there are package suitable to your OS.
How do you install that? I've tried
ReplyDeletesudo apt-get install gdbm-devel
but that gave me "E: Unable to locate package gdbm-devel" and I also tried
yum install gdbm-devel but only got
No package gdbm-devel available.
So, how does one actually install this?
Hi Jc
ReplyDeleteI was able to install gdbm-devel using yum on my CentOS 6.3. If you are not using CentOS or RHEL, then I could not help but you could check rpmfind.net and see if there are package suitable to your OS.
configure: error: DBA: Could not find necessary header file(s).
ReplyDeletesolution: yum install gdbm-devel
If you still have issues :
Try installing below :
yum install php-dba
Error still exists.
yum install qdbm*
Error still exists.
yum install db4*
This should do it !!