Snort mailing list archives

AW: Snort and MySQL ./configure problems


From: "Poppi, Sandro" <Sandro.Poppi () wacker com>
Date: Wed, 17 Apr 2002 07:24:38 +0200

Good morning,
 
Hello and thanks for the support forum.

I'm trying to deploy another snort sensor (I have 6 working now 1.8.3)
reporting to MySql.  Installing on a fresh RedHat 7.2.

I'm trying to ./configure --with-mysql=DIR but I don't know 
what the DIR is
supposed to be.  I've used /usr/lib/mysql, /usr/local/include,
/usr/bin/mysql.  Sometimes the ./configure fails with an 
error about cant
find mysql, other times no failure, but still won't run.

I installed MySql from src rpms just because.

I can do a find on mysql and I've tried all the possible 
config for =DIR but
snort fails and says not configured for mysql.

I remake it and it fails again.  Just want to know what part 
of mysql is
snort looking for.  The binary, client, .c and .h files or what.

What am I doing wrong?

Nothing. You seem to not have installed the right mysql rpms. To compile and
run snort with mysql support you need at a minimum the rpms
mysql-3.23.41-1.i386.rpm and mysql-devel-3.23.41-1.i386.rpm. If the database
is also located on the same pc you also have to install
mysql-server-3.23.41-1.i386.rpm. mysql.h can then be found at
/usr/include/mysql/mysql.h.

Try
./configure --with-mysql
without any directory, this has worked for me (although I think this
shouldn't be an issue with snort 1.8.6 anymore, not quite sure).

HTH,
Sandro

_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: