Raichu
Raichu

Reputation: 107

nginx compiling from source

We needed to include sticky directive in nginx; so we followed steps from this link http://nginx.org/en/docs/howto_build_on_win32.html.. But we are getting below error:

 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

This link had similar issue Error building : fatal error: pcre.h: No such file or directory but i am using latest of pcre i.e. pcre2-10.10

Can anybody tell how to correct the issue or any location from which i can download nginx with sticky module

Upvotes: 3

Views: 2347

Answers (1)

Stavinsky
Stavinsky

Reputation: 323

Just don't use pcre2. You need pcre like pcre-8.36.

Upvotes: 6

Related Questions