Snort mailing list archives
Re: problems with barnyard, snort and mysql
From: Alejandro Flores <alejandrorflores () gmail com>
Date: Fri, 11 Mar 2005 20:01:41 -0300
Hey, Nope, you're doing it wrong. The option --enable-mysql is to enable mysql support. But, to compile barnyard with mysql support, you'll need mysql headers and libraries installed in your computer. If you're using fedora, just execute: yum install mysql-devel You must be sure you have the headers and libraries files for mysql installed in order to compile barnyard with mysql support. Try using just this: ./configure --enable-mysql If it gives you an error about mysql.h, you'll have to specify where your headers are located: ./configure --enable-mysql --with-mysql-includes=/path/to/your/mysql_includes If it not complains, it will compile with mysql support. Regards, Alejandro Flores
Hey, Yes, at least I thought I did. This was the command I ran. ./configure --enable-mysql=/etc/snort/ --with-mysql=/etc/snort Now before I only had one mysql.h file which was located /home/mercury/snort-2.2.0/src/win32/WIN32-Includes/mysql/mysql.h which I copied to /etc/snort. I now notice that there is one in my barnyard directory I am thinking I probably screwed that up. Should I recomplie just using the following command? ./configure --enable-mysql=/usr/local/src/barnyard-0.2.0/ Which is where there is a header file for mysql. If I don't specify the directory this is the error I get. checking for /mysql.h... no ********************************************** ERROR: unable to find mysql headers (mysql.h) checked in the following places /mysql.h ********************************************** Kevin
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ 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:
- problems with barnyard, snort and mysql Kevin Smith (Mar 11)
- Re: problems with barnyard, snort and mysql Alejandro Flores (Mar 11)
- Re: problems with barnyard, snort and mysql Paul Schmehl (Mar 11)
- Re: problems with barnyard, snort and mysql Kevin Smith (Mar 11)
- Re: problems with barnyard, snort and mysql Alejandro Flores (Mar 11)
- Re: problems with barnyard, snort and mysql Kevin Smith (Mar 11)
- Re: problems with barnyard, snort and mysql Alejandro Flores (Mar 11)
- <Possible follow-ups>
- Re: problems with barnyard, snort and mysql Alejandro Flores (Mar 11)
- Re: problems with barnyard, snort and mysql Kevin Smith (Mar 12)
- Re: problems with barnyard, snort and mysql Alejandro Flores (Mar 13)
- Message not available
- Re: problems with barnyard, snort and mysql Kevin Smith (Mar 15)
- Re: problems with barnyard, snort and mysql Kevin Smith (Mar 12)