php编译时出现错误解决方法

1.curl

##错误 configure: error: xml2-config not found. Please check your libxml2 installation.
##解决 yum install -y libxml2-devel
##错误 configure: error: Cannot find OpenSSL's <evp.h>
##解决 yum install -y  openssl-devel

3.ide

##错误  checking for BZip2 in default path... not found
        configure: error: Please reinstall the BZip2 distribution
##解决 yum install -y  bzip2-devel

4.url

##错误 configure: error: png.h not found.
##解决 yum install -y libpng libpng-devel


##错误 configure: error: freetype.h not found.
##解决 yum install -y freetype freetype-devel

6.spa

##错误 configure: error: mcrypt.h not found. Please reinstall libmcrypt.

##解决先安装第三方yum源 yum  install -y epel-releaseorm

                  yum install -y  libmcrypt-devel

7.##错误  xml

 error: Please reinstall the libcurl distribution -ip

    easy.h should be in <curl-dir>/include/curl/ssl

##解决

yum -y install curl-developenssl


8..##错误  configure: error: jpeglib.h not found.it

  

##解决  yum -y install libjpeg-devel
相关文章
相关标签/搜索