Snort.org home  
Got Source? About Snort About Sourcefire Snort FAQ
Sourcefire Network Security - the creators of Snort

Snort Forums Archive

Archive Home » Snort Newbies » Compiling question

Please note that the categories listed below represent an archived version of our forums pages. To view the current version and be able to post and reply to threads, please register and login here to go to the full forums pages.

[ Notice: Full Version of This Topic ]

Compiling question


Posted by mangood on March 17, 2005 01:28:06

Hi to all.
I'm in process of snort installation. I want to configure it with mysql support. When I try to compile it with --with-mysql option I end up missing mysql.h file. When I do this using --enable-mysql everything looks ok.
My question is what is difference between --with-mysql and --enable-mysql.
Thanks in advance

Posted by maverick on March 17, 2005 04:49:40

--enable-mysql is not a valid configure option and is being ignored. You have to use --with-mysql. You can get the necessary headers and library files for snor tto compile mysql support by going to mysql.com and downloading and installing the client and devel tools from the downloads section. After you install these, it should eliminate youe error when using --with-mysql.

Posted by christopherccv on March 17, 2005 17:56:35

i think you miss out something suring the installation process of the mysql server. please refer back the document it will help