Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The --enable-pcre-jit option is not supported in the latest build? #3343

Closed
SonNgo2211 opened this issue Feb 23, 2025 · 4 comments
Closed

The --enable-pcre-jit option is not supported in the latest build? #3343

SonNgo2211 opened this issue Feb 23, 2025 · 4 comments

Comments

@SonNgo2211
Copy link

SonNgo2211 commented Feb 23, 2025

Hello I recently rebuilt modsecurity (v3, commit f96806c) with nginx (v1.27.1) and noticed that there was an error when the --enable-pcre-jit option was not detected while building the module. Not sure if this option is supported or if I provided the wrong information. Please help me with this problem.

Image

@airween
Copy link
Member

airween commented Feb 23, 2025

Hi @SonNgo2211,

there is no such configure option that --enable-pcre-jit in case of libmodsecurity3.

Libmodsecurity3 detect automatically that the installed PCRE2 library supports or not JIT here.

@SonNgo2211
Copy link
Author

SonNgo2211 commented Feb 23, 2025

Libmodsecurity3 detect automatically that the installed PCRE2 library supports or not JIT here.

Oh thank you so much, @airween. I haven't really looked at the source code yet. I'm using the libpcre2-dev package, maybe I'll find out if it supports JIT. Or I'll build from PCRE2 source code just to be sure.

@airween
Copy link
Member

airween commented Mar 10, 2025

@SonNgo2211 if you don't have any other question, could we close this issue?

@SonNgo2211
Copy link
Author

@airween Ok, I have closed this issue as the problem has been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants