• 中文交流区 反馈
  • openresty-1.17.8.1 版本打包时貌似缺少了一个文件,导致使用编译参数--with-http_perl_module报错

openresty-1.17.8.1 版本打包时貌似缺少了一个文件,导致使用编译参数--with-http_perl_module报错。解决办法从nginx官网下载对应版本文件,解压后获取:
cp nginx-1.17.8/src/http/modules/perl/nginx.pm openresty-1.17.8.1/bundle/nginx-1.17.8/src/http/modules/perl/

w38351479
是这个提示吧
gmake[2]: *** No rule to make target src/http/modules/perl/nginx.pm', needed byobjs/src/http/modules/perl/Makefile'. Stop.

对应目录下确实是找不到这个文件

多谢报告,已经在官方仓库中修复。

    该修复已经包含在最新的 openresty 1.17.8.2 发布中。

    a month later

    agentzh 官方rpm build中 --with-stream --with-stream_ssl_preread_module 这两个参数出现了2次

    openresty -V
    nginx version: openresty/1.17.8.2
    built by gcc 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC)
    built with OpenSSL 1.1.1g 21 Apr 2020
    TLS SNI support enabled
    configure arguments: ...
    --with-stream
    --with-stream_ssl_module
    --with-stream_ssl_preread_module
    --with-http_v2_module
    ...
    --with-threads
    --with-compat
    --with-stream
    --with-stream_ssl_preread_module
    -with-http_ssl_module

    Write a Reply...