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

include <pcre2.h> ? #29

Open
StockConsultant opened this issue Sep 12, 2024 · 2 comments
Open

include <pcre2.h> ? #29

StockConsultant opened this issue Sep 12, 2024 · 2 comments

Comments

@StockConsultant
Copy link

followed the read me but get this error please help, install on Almalinux 9

$APACHE_ROOT/bin/apxs -i -a -c mod_evasive.c
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -Wall -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o mod_evasive.lo mod_evasive.c && touch mod_evasive.slo
mod_evasive.c:37:10: fatal error: pcre2.h: No such file or directory
37 | #include <pcre2.h>
| ^~~~~~~~~
compilation terminated.
apxs:Error: Command failed with rc=65536

@jvdmr
Copy link
Owner

jvdmr commented Nov 5, 2024

Could you try /usr/bin/apxs -i -a -c -l pcre2-8 mod_evasive.c?
I might have to update the docs on how to build from source

@StockConsultant
Copy link
Author

i will give it a try, thanks

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

No branches or pull requests

2 participants