【问题标题】:recompile NGINX with upgraded openssl使用升级的 openssl 重新编译 NGINX
【发布时间】:2017-07-22 06:41:55
【问题描述】:

我正在尝试使用以下命令使用升级版本的 openssl 重新编译我的 NGINX。

./configure --with-openssl=/usr/local/src/openssl --with-http_realip_module --with-http_ssl_module --with-stream --with-stream_ssl_module --with-http_slice_module

在运行时使我得到以下错误。

Makefile 早于 Makefile.org、Configure 或 config。重新配置 源代码树(通过'./config'或'perl Configure'),请。制作[2]: * [Makefile] 错误 1 ​​make[2]: 离开目录 `/usr/local/src/openssl' make[1]: * [/usr/local/src/openssl/.openssl/include/openssl/ssl.h] 错误2

请提出建议。

【问题讨论】:

    标签: nginx openssl


    【解决方案1】:

    尝试从 openssl 文件夹中删除 Makefile。

    rm /usr/local/src/openssl/Makefile
    

    【讨论】:

    • 谢谢!! Nginx 应该在每次安装时为我们执行此操作!
    【解决方案2】:

    对我来说,这个错误是在我错误地将系统的时区更改为无效时区之后出现的。 请“检查您的系统时钟”

    【讨论】:

      猜你喜欢
      • 2015-01-18
      • 2012-03-21
      • 2018-11-02
      • 2011-02-12
      • 1970-01-01
      • 2013-05-06
      • 1970-01-01
      • 1970-01-01
      • 2012-03-13
      相关资源
      最近更新 更多