文章内容
2023/2/16 10:02:02,作 者: 黄兵
./configure: error: the HTTP rewrite module requires the PCRE library.
按照这篇文章:Experiment with HTTP/3 using NGINX and quiche 构建 http/3 的时候出现了如下错误:
./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=<path> option.
出现问题的原因:
没有安装 PCRE 依赖包。
解决方案:
安装 PCRE 依赖包。
Ubuntu 执行如下命令安装 PCRE 依赖包:
sudo apt-get install libpcre3-dev
即可解决问题。
其他系统如何解决此问题,可以查看下面参考资料。
参考资料:
1、Experiment with HTTP/3 using NGINX and quiche
2、Nginx configure error: the HTTP rewrite module requires the PCRE library
黄兵个人博客原创。
转载请注明出处:黄兵个人博客 - ./configure: error: the HTTP rewrite module requires the PCRE library.
评论列表