Snort mailing list archives

RE: Snort and MySQL ./configure problems


From: "Estes, Matt CPR / FCBS" <Matt.Estes () eis army mil>
Date: Wed, 17 Apr 2002 10:07:50 -0400

Sounds like this issue needs to be addressed in v 1.9?  Alot of repeat posts
for this issue... Chris? 

But, referring to previous post from Mr. Doane:

<snip>
try compiling like this:  ./configure --with-mysql=/usr

HTH

-----Original Message-----
From: Poppi, Sandro [mailto:Sandro.Poppi () wacker com]
Sent: Wednesday, April 17, 2002 1:25 AM
To: 'Noller, Gregory'; 'snort-users () lists sourceforge net'
Subject: AW: [Snort-users] Snort and MySQL ./configure problems


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


_______________________________________________
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: