[PATCH 0 of 4] PCRE2 support

Tatsuhiko Kubo cubicdaiya at gmail.com
Tue Dec 14 06:09:43 UTC 2021


Hello,

I'm trying these patches and the build of nginx with the option
"--with-pcre-jit" fails.

$ cd nginx-1.21.4 # with applied patches
$ ./configure --with-pcre=../pcre2/pcre2-10.39 --with-pcre-jit
$ make
...
cc -c -pipe  -O -Wall -Wextra -Wpointer-arith
-Wconditional-uninitialized -Wno-unused-parameter
-Wno-deprecated-declarations -Werror -g  -I src/core -I src/event -I
src/event/modules -I src/os/unix -I ../pcre2/pcre2-10.39/src/ -I objs
\
                -o objs/src/core/ngx_regex.o \
                src/core/ngx_regex.c
src/core/ngx_regex.c:590:15: error: use of undeclared identifier
'PCRE_STUDY_JIT_COMPILE'
        opt = PCRE_STUDY_JIT_COMPILE;

Thanks.

--
Tatsuhiko Kubo

2021年12月13日(月) 11:31 Maxim Dounin <mdounin at mdounin.ru>:
>
> Hello!
>
> The following patch series adds PCRE2 support.
> Review and testing appreciated.
>
> --
> Maxim Dounin
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel


More information about the nginx-devel mailing list