Page 1 of 1

Compiling Snort with mySQL support

PostPosted: Sat Jan 26, 2002 7:25 pm
by swannman
I have mySQL installed with Fink (which puts mysql.h at /sw/include/mysql/) and running perfectly.. yet when running ./configure on Snort with the --with-mysql=/sw/include/mysql flag, it still fails to find it. I've even installed the publicly available mySQL installer .pkg and told configure to find it itself (with a vanilla --with-mysql flag), with no luck. When it is unable to find the required files itself, it complains about a missing mysql.h, which is what I'm pointing it to.. does anyone have some advice, or know how to get this working? Six months ago I had database support compiled in just fine.. now it's choosing to be a royal pain. I appreciate in advance whatever help I can get.

Re: Compiling Snort with mySQL support

PostPosted: Fri Feb 11, 2005 2:01 am
by <jaycee>
I'm getting the same thing except on linux. I downloaded a complete mysql installation and copied mysql.h that came with it into /usr/include/ -

snort then compiled correctly but when starting snort again, it says it doesn't have mysql support - argh.

maybe I'll try an earlier ver. of snort...