On Fri, Jan 5, 2018 at 12:49 PM, HairLoss2018 <m...@keyfutures.com> wrote:
> Thanks Dan. I guess yum will install sqlite-devel into it's own set of
> folders, do I need to change the includes path in
> analysisd/syscheck-sqlite.h to point to the location of the new sqlite3.h
> file?
>

I don't think you should have to change anything in the OSSEC source
tree. I tried it yesterday and didn't have to make any changes (Fedora
or CentOS system).
In fact, I had the same error you did  shortly before you mailed the
list about it.

> On Friday, 5 January 2018 14:25:37 UTC, dan (ddpbsd) wrote:
>>
>> yum install sqlite-devel
>>
>> It's a requirement for the md5 whitelist feature in master
>>
>> On Jan 5, 2018 9:24 AM, "ma...@keyfutures.com" <ma...@keyfutures.com>
>> wrote:
>>>
>>> Hi, I got these errors when trying to install OSSEC onto a Centos 6.9
>>>
>>> In file included from analysisd/analysisd.c:44:
>>> analysisd/syscheck-sqlite.h:1:21: error: sqlite3.h: No such file or
>>> directory
>>> In file included from analysisd/analysisd.c:44:
>>> analysisd/syscheck-sqlite.h:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
>>> ‘__attribute__’ before ‘*’ token
>>> analysisd/analysisd.c: In function ‘OS_ReadMSG’:
>>> analysisd/analysisd.c:660: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
>>> ‘__attribute__’ before ‘*’ token
>>> analysisd/analysisd.c:660: error: ‘conn’ undeclared (first use in this
>>> function)
>>> analysisd/analysisd.c:660: error: (Each undeclared identifier is reported
>>> only once
>>> analysisd/analysisd.c:660: error: for each function it appears in.)
>>> analysisd/analysisd.c:664: warning: implicit declaration of function
>>> ‘sqlite3_open’
>>> make: *** [analysisd/analysisd-live.o] Error 1
>>>
>>>  Error 0x5.
>>>  Building error. Unable to finish the installation.
>>>
>>> It would seem that the sqlite3.h file is missing from the git clone.
>>>
>>> Can someone advise the best way to resolve this?
>>>
>>> Many thanks,
>>>
>>> Mark
>>>
>>> --
>>>
>>> --- 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 ossec-list+...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>
> --
>
> ---
> 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 ossec-list+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 

--- 
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 ossec-list+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to