Snort mailing list archives

Re: Compiling Snort for MySQL


From: Chris Keladis <Chris.Keladis () cmc cwo net au>
Date: Mon, 24 Sep 2001 22:04:16 +1000

Hi,

Doing some prodding in the configure script, it seems it looks for
mysql.h in the following directories by default:

/usr/include
/usr/include/mysql
/usr/local/include
/usr/local/include/mysql

If you've downloaded a tar'ed binary image such as those available on
www.mysql.com you can simply pass the untar'ed path to the --with-mysql
option and it should compile ok.




HIH,

Chris.


John Berkers wrote:

Richard,

I have in the past tried to specify the location of the mysql headers
without much luck. I usually just use ./configure --with-mysql and leave it
at that.  It seems to work for me.

YMMV

Regards,

John Berkers.

-----Original Message-----
From: snort-users-admin () lists sourceforge net
[mailto:snort-users-admin () lists sourceforge net]On Behalf Of Richard La
Bella
Sent: Monday, 24 September 2001 15:19
To: Snort Users
Subject: [Snort-users] Compiling Snort for MySQL

All,

I need to recompile snort for use with mysql but I keep getting the same
error message when I recompile:

ERROR: Unabel to find mysql headers (mysql.h)

When I installed mysql I installed the mysql RPM.
I am compiling as so: ./configure --with-mysql=/var/lib/mysql

I have the snort database set up and populated using the contrib file
create_mysql. I confirmed the database and the tables are present.

All help is greatly appreciated.

Thank you in advance.

Richard

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