zoukankan      html  css  js  c++  java
  • 编译安装nginx报错 checking for C compiler ... not found

    编译安装在执行./configure步骤报错,是因为缺少环境变量

    checking for C compiler … not found

    ./configure: error: C compiler cc is not found

    解决办法

    yum -y install gcc
    yum -y install gcc-c++

    ./configure: error: the HTTP rewrite module requires the PCRE library.
    You can either disable the module by using --without-http_rewrite_module
    option, or install the PCRE library into the system, or build the PCRE library
    statically from the source with nginx by using --with-pcre= option.

    解决办法

    yum -y install pcre-devel openssl openssl-devel

  • 相关阅读:
    讨论一下,乌云漏洞库的学习方法
    a
    asss
    密码重置
    SQL注入2
    起名字真难
    Header
    SQL注入1
    伪装者
    ofbiz 代码日记
  • 原文地址:https://www.cnblogs.com/my-first-blog-lgz/p/13607039.html
Copyright © 2011-2022 走看看