使用升级的openssl重新编译NGINX

使用升级的openssl重新编译NGINX,nginx,openssl,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 在运行make时,我遇到以下错误 Makefile早于Makefile.org、Configure或

我正在尝试使用下面的命令用升级版的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
在运行make时,我遇到以下错误

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


请建议。

尝试从openssl文件夹中删除Makefile

rm /usr/local/src/openssl/Makefile

非常感谢。Nginx应该在每次安装时为我们这样做!