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
相關文章
相關標籤/搜索