[Snort-users] Compiling Snort for MySQL

Chris Keladis Chris.Keladis at ...2783...
Mon Sep 24 05:06:02 EDT 2001


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


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.



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.
> Regards,
> John Berkers.
> -----Original Message-----
> From: snort-users-admin at lists.sourceforge.net
> [mailto:snort-users-admin at 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 at 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

More information about the Snort-users mailing list