【问题标题】:nginx compiling from sourcenginx从源码编译
【发布时间】:2016-01-01 06:06:09
【问题描述】:

我们需要在 nginx 中包含 sticky 指令;所以我们按照这个链接的步骤http://nginx.org/en/docs/howto_build_on_win32.html.. 但是我们遇到了以下错误:

 In file included from src/core/ngx_core.h:71:0,
        from src/core/nginx.c:9:
 src/core/ngx_regex.h:15:18: fatal error: pcre.h: No such file or directory

此链接有类似问题 Error building : fatal error: pcre.h: No such file or directory 但我使用的是最新的 pcre,即 pcre2-10.10

谁能告诉我如何纠正这个问题或我可以从哪个位置下载带有粘性模块的 nginx

【问题讨论】:

    标签: nginx pcre


    【解决方案1】:

    只是不要使用 pcre2。你需要像 pcre-8.36 这样的 pcre。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-11-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-04-17
      • 1970-01-01
      相关资源
      最近更新 更多