Hmm, unfortunately it didn't work.
I still get this error:
*** Making os_dbd ***
make[1]: Entering directory `/home/theresa/ossec-hids-2.7/src/os_dbd'
Compiling DB support with:
gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DUSE_OPENSSL
-DUSEINOTIFY -DARGV0=\"ossec-dbd\" -DXML_VAR=\"var\" -DOSSECHIDS
-I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv
-fPIC -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing
-DMY_PTHREAD_FASTMUTEX=1 -L/usr/lib64/mysql -lmysqlclient -lpthread -lz -lm
-lrt -lssl -lcrypto -ldl -DDBD -DUMYSQL *.c ../config/lib_config.a
../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a
../os_xml/os_xml.a -o ossec-dbd
In file included from /usr/include/sys/types.h:25:0,
from ../headers/shared.h:47,
from dbd.h:21,
from alert.c:17:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires
compiling with optimization (-O) [-Wcpp]
In file included from /usr/include/sys/types.h:25:0,
from ../headers/shared.h:47,
from dbd.h:21,
from config.c:17:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires
compiling with optimization (-O) [-Wcpp]
In file included from /usr/include/sys/types.h:25:0,
from ../headers/shared.h:47,
from dbd.c:25:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires
compiling with optimization (-O) [-Wcpp]
In file included from /usr/include/sys/types.h:25:0,
from ../headers/shared.h:47,
from dbd.h:21,
from db_op.c:20:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires
compiling with optimization (-O) [-Wcpp]
db_op.c:24:19: fatal error: mysql.h: No such file or directory
compilation terminated.
In file included from /usr/include/sys/types.h:25:0,
from ../headers/shared.h:47,
from main.c:25:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires
compiling with optimization (-O) [-Wcpp]
In file included from /usr/include/sys/types.h:25:0,
from ../headers/shared.h:47,
from dbd.h:21,
from rules.c:17:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires
compiling with optimization (-O) [-Wcpp]
In file included from /usr/include/sys/types.h:25:0,
from ../headers/shared.h:47,
from dbd.h:21,
from server.c:17:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires
compiling with optimization (-O) [-Wcpp]
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/theresa/ossec-hids-2.7/src/os_dbd'
Error Making os_dbd
make: *** [all] Error 1
Error 0x5.
Building error. Unable to finish the installation.
and here's a link to my current Makefile (I undid the changes I made
yesterday)
http://pastebin.com/mVUzUns8
On Tuesday, October 22, 2013 11:29:53 PM UTC+2, dan (ddpbsd) wrote:
>
>
> On Oct 22, 2013 5:28 PM, <[email protected] <javascript:>> wrote:
> >
> > Ok, will do it tomorrow. But I thought the modifications in the makefile
> enabled the mysql support?!
> >
>
> "make setdb" enables sql support. I believe that modification helps some
> odd platforms, but not all.
>
> > --
> >
> > ---
> > 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] <javascript:>.
> > For more options, visit https://groups.google.com/groups/opt_out.
>
--
---
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].
For more options, visit https://groups.google.com/groups/opt_out.