centos-DBA: Could not find necessary header file(s).

问题描述

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

编译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

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

解决方案

看一下makefileyijilog具体对应错误i 信息。头文件是找的什么路径。

时间: 2024-08-30 15:38:25

centos-DBA: Could not find necessary header file(s).的相关文章

为PHP安装imagick时出现Cannot locate header file MagickWand.h错误的解决方法_php实例

今天在新服上安装php imagick, 环境如下: php 5.4.13 ImageMagick-6.8.3-10 imagick-3.0.1 可是出错了一个问题.就是死说找不到MagickWand.h: checking for MagickWand.h header file... configure: error: Cannot locate header file MagickWand.h 可是我明明正确安装了ImageMagick的呀.GOOGLE了半天,也解决不了这个问题.后面对照

c-Use of C runtime library internal header file

问题描述 Use of C runtime library internal header file 程序没问题,直接由V6转到VS2005,遇到的编译问题都解决了,就剩下这一个报错了,解决不了啊急 c:program files (x86)microsoft visual studiovc98crtsrcexcpt.h 31 快没饭碗了啊 解决方案 看上去是用了vc6的头文件,找出来,然后修改代码 解决方案二: 这是系统头文件吧,我是新手,可能是版本不对,或编译器不兼容? 解决方案三: VC6

解决编译imagick-3.0.1时Cannot locate header file MagickWand.h错误

解决编译imagick-3.0.1时Cannot locate header file http://www.aliyun.com/zixun/aggregation/16764.html">MagickWand.h错误 ImageMagick 6.8之后的版本目录结构改变了,我们查询到ImageMagick的结果如下 [root@localhost ~]# ll /usr/local/include/总用量 48-rw-r--r--. 1 root root  9343 6月   8 1

auto make System.map to C header file

#!/bin/bash # auto make System.map to C header file # 说明: # 该脚本主要是将Linux内核生成的System.map文件中的符号.地址存入结构体中, # 目前认为也许可以在内核驱动中直接调用对应的函数.以前在学习裸板开发中就有 # 使用Uboot中提供的printf来写程序的先例,那么这里应该也是可以的,不过这里没 # 有什么实用性,因为5W个函数,但这个结构体就要用掉进200kByte空间. # # 2016-3-19 深圳 南山平山村

CentOS中配置LNMP环境打开提示File not found

安装之后测试发现,怎么Html能运行,而php就不行,显示File Not Found,很是悲伤之下谷歌,发现了各种奇奇怪怪的说法,作为一个error_log看不懂的人只能一个个尝试,而且我将安装步骤仔细重复了一遍又一遍,保证按照教程来了,还是没发现问题,最后找到了一个类似的答案: 是配置的问题  location ~ .php$ {  root html; html是nginx默认的目录,需要改成网站实际的路径 然后我基本确定了在/etc/nginx/conf.d/default.conf下,

PHP编译过程中常见错误信息的解决方法

PHP编译过程中常见错误信息的解决方法 在CentOS编译PHP5的时候有时会遇到以下的一些错误信息,基本上都可以通过yum安装相应的库来解决.以下是具体的一些解决办法: checking for BZip2 support- yes checking for BZip2 in default path- not found configure: error: Please reinstall the BZip2 distribution Fix: yum install bzip2-devel

php编译安装常见错误大全和解决方法_linux shell

在CentOS编译PHP5的时候有时会遇到以下的一些错误信息,基本上都可以通过yum安装相应的库来解决.以下是具体的一些解决办法: 复制代码 代码如下: checking for BZip2 support- yes checking for BZip2 in default path- not found configure: error: Please reinstall the BZip2 distribution 解决方法:yum install bzip2-devel 复制代码 代码如

PHP编译安装时常见错误解决办法

  这篇文章主要介绍了PHP编译安装时常见错误解决办法,本文涵盖了PHP编译安装中的大多数错误,同时给出解决方法,需要的朋友可以参考下 This article is post on https://coderwall.com/p/ggmpfa configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution 代码如下: yum -y install libxslt-devel

PHP编译安装时常见错误解决办法_php实例

This article is post on https://coderwall.com/p/ggmpfa configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution 复制代码 代码如下: yum -y install libxslt-devel configure: error: Could not find net-snmp-config binary. Please