欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

configure: error: DBA: Could not find necessary header file(s).

程序员文章站 2022-05-07 12:36:02
...
编译PHP,提示错误:
configure: error: DBA: Could not find necessary header file(s).

详细见:https://gist.github.com/anonymous/ac9726a67198e4c0a946

有安装过gdbm

cd /
sudo find . -name "gdbm.h"
./usr/include/gdbm.h
./usr/include/gdbm/gdbm.h
./home/levi/.linuxbrew/Cellar/gdbm/1.11/include/gdbm.h
./home/levi/.linuxbrew/include/gdbm.h

但是为何编译会出现问题呢?

回复内容:

编译PHP,提示错误:

configure: error: DBA: Could not find necessary header file(s).

详细见:https://gist.github.com/anonymous/ac9726a67198e4c0a946

有安装过gdbm

cd /
sudo find . -name "gdbm.h"
./usr/include/gdbm.h
./usr/include/gdbm/gdbm.h
./home/levi/.linuxbrew/Cellar/gdbm/1.11/include/gdbm.h
./home/levi/.linuxbrew/include/gdbm.h

但是为何编译会出现问题呢?

操蛋的linuxbrew,跟osx的没法比

相关标签: centos php 编译