1,Linux执行./configuer 编译命令报configure: WARNING: unrecognized options: ....

checking for ccno

checking for gccno

原因是缺少gcc 编译环境

yum源的直接执行 #yum -y install gcc gcc-c++

2,编译命令报checking libxml2 install dir... no

checking for xml2-config path...

configure: error: xml2-config not found. Please check your libxml2 installation.

检查是否安装了libxm: #rpm -qa |grep  libxml2

libxml2-2.6.26-2.1.12

libxml2-python-2.6.26-2.1.12

重新安装libxml2libxml2-devel

#yum install libxml2

#yum install libxml2-devel -y

安装完之后查找xml2-config文件是否存在

#find / -name "xml2-config"

/usr/bin/xml2-config

4,编译命令报Php7 configure: error: Cannot find OpenSSLs <ev.h>

安装opensll#yum install -y openssl openssl-devel 

5,编译命令报If configure fails try --with-vpx-dir=<DIR> configure: error: jpeglib.h not

#yum -y install libjpeg-devel

6,编译命令报 configureerrormcrypt.h not found. Please reinstall libmcrypt

先安装epel,再安装libmcrypt    

#yum install -y epel-release

#yum install -y libmcrypt-devel