Hello all
I am trying to install ossec agent to my Kali machine but it says every time that the install has failed, it would be great if you could help me thank you very much
This is the error message:
in file included from ./headers/shared.h:215
from client-agent/agentd.c:10:
./os_regex/os_regex.h:19:10: fatal error: pcre2.h: no such file or directory
19 | #include <pcre2.h>
compilation terminated
make: *** [makefile:1014 client-agent/agentd.o] error 1
Error 0*5.
Building error. unable to finish the installation.
Install problem
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Install problem
That means you're missing the PCRE2 dependency, this part right here:
" fatal error: pcre2.h: no such file or directory"
" fatal error: pcre2.h: no such file or directory"
Re: Install problem
how do I add this?
Re: Install problem
Extract pcre2-10.32.tar.gz to src/external.
Get it here: https://ftp.pcre.org/pub/pcre/pcre2-10.32.tar.gz
Get it here: https://ftp.pcre.org/pub/pcre/pcre2-10.32.tar.gz
Re: Install problem
Thank you very much