首頁 >後端開發 >php教程 >configure: error: DBA: Could not find necessary header file(s).

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

WBOY
WBOY原創
2016-06-06 20:35:432550瀏覽

编译PHP,提示错误:

<code>configure: error: DBA: Could not find necessary header file(s).
</code>

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

有安装过gdbm

<code>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
</code>

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

回复内容:

编译PHP,提示错误:

<code>configure: error: DBA: Could not find necessary header file(s).
</code>

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

有安装过gdbm

<code>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
</code>

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

操蛋的linuxbrew,跟osx的没法比

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn