zoukankan      html  css  js  c++  java
  • Linux PHP 安装过程出现的错误

    错误:
    Cannot find OpenSSL's <evp.h>;
    解决办法是:
    yum install openssl openssl-devel
    ln -s /usr/lib64/libssl.so /usr/lib/
    --------------------------------------
    错误:
    Warning: File `src/core/nginx.h' has modification time 1.2e+07 s in the future
    解决办法是:
    cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
    查看系统日期:date

    发现日期也不对,

    修改日期:date -s 20141118

    修改时间:date -s 19:16:55
    ------------------------------------
    错误:
    configure: error: Please reinstall the libcurl distribution -easy.h should be in <curl-dir>/include/curl/
    解决办法是:
    yum install -y libcurl-devel
    ---------------------------------

    安装时遇到如下错误:

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

    解决办法是:

    yum install -y libxml2-devel

    ---------------------------------------------------------------

    错误:

    configure: error: Cannot find OpenSSL's

    解决办法是:

    yum install -y openssl openssl-devel

    错误:

    checking for BZip2 in default path... not found

    configure: error: Please reinstall the BZip2 distribution

    解决办法:

    yum install -y bzip2 bzip2-devel

    -----------------------------------------------------------------

    错误:

    configure: error: png.h not found.
    

    解决办法:

    yum install -y libpng libpng-devel
    
    -------------------------------------------------

    错误:

    configure: error: jpeglib.h not found.

    解决办法:
    yum install -y libjpeg-deve

    -----------------------------------------------

    错误:

    configure: error: freetype.h not found.

    解决办法:

    yum install -y freetype freetype-devel
    
    --------------------------------------------------

    错误:

    configure: error: mcrypt.h not found. Please reinstall libmcrypt.
    

    解决办法:

    rpm -ivh "http://www.aminglinux.com/bbs/data/attachment/forum/month_1211/epel-release-6-7.noarch.rpm"
    yum install -y  libmcrypt-devel
    (因为centos6.x 默认的yum源没有libmcrypt-devel 这个包,只能借助第三方yum源)
    ---------------------------------------------

    安装Nginx时报错

    ./configure: error: the HTTP rewrite module requires the PCRE library.

    安装pcre-devel解决问题
    yum -y install pcre-devel

    ------------------------------------------------

  • 相关阅读:
    GeoServer 2.2 正式版发布,GIS 服务器
    Spring Shell 1.0.0.RC1 发布
    微软发布支持Windows Desktop和F#的Visual Studio Express版本
    XINS 3.0 正式版发布,远程 API 调用规范
    YUI 3.7.2 补丁版发布
    HTML5 Boilerplate 4:改进了Apache配置和图片替换技术,并采用MIT许可证
    解决Windows Phone平台上不能枚举工程自带资源的问题
    截短 UTF8 字符串
    Spring Data Neo4j 2.1.0 RC4 发布
    GTK+ 3.5.18 发布,GUI 开发工具包
  • 原文地址:https://www.cnblogs.com/chaolinux/p/5071179.html
Copyright © 2011-2022 走看看