使用升级的openssl重新编译NGINX

时间:2017-03-02 13:43:42

标签: nginx openssl

我正在尝试使用以下命令使用升级版本的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

on runnng让我得到以下错误。

  

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

请建议。

1 个答案:

答案 0 :(得分:0)

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

rm /usr/local/src/openssl/Makefile
相关问题