If I’m not mistaken you have to add the following variable before being able to 
compile OSSEC in newer versions:

PCRE2_SYSTEM=yes

VR,
Vicente Muñoz (ACSE)

From: [email protected] <[email protected]> On Behalf Of 
Andy
Sent: Monday, April 20, 2020 11:10 AM
To: ossec-list <[email protected]>
Subject: [EXTERNAL] [ossec-list] Unable to install OSSEC Agent

I am unable to install the ossec agent on a centos 7 server.  I get this error:
In file included from ./headers/shared.h:215:0,
                 from client-agent/sendmsg.c:10:
./os_regex/os_regex.h:19:19: fatal error: pcre2.h: No such file or directory
 #include <pcre2.h>

After installing pcre-devel, it still fails with this error.
--

---
You received this message because you are subscribed to the Google Groups 
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ossec-list/87a1b5ac-5b1d-476c-bda7-1c1dfc8cdae3%40googlegroups.com<https://groups.google.com/d/msgid/ossec-list/87a1b5ac-5b1d-476c-bda7-1c1dfc8cdae3%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ossec-list/BYAPR04MB6007D5187ACB317EB0035FD9CFD40%40BYAPR04MB6007.namprd04.prod.outlook.com.

Reply via email to