Snort mailing list archives

RE: SNort 1.9.0 with MySQL logging


From: James Fowler <santiago () cox net>
Date: Tue, 29 Oct 2002 13:14:49 -0700 (MST)

It isn't actually a library problem (it doesn't appear to be). I tried 
linking the libraries as you suggested anyway and nothing changed. It 
appears to be a disagreement between the msyql.h and what spo_database.o 
expects the header to say. I don't know if anyone else is having this 
isusse.
This is on a debian 3.0/woody system.

Thanks,

JAmes


On Tue, 29 Oct 2002, Security Admin wrote:

Copy the MySQL libraries file from /usr/local/lib/mysql to /usr/lib.....not
sure if my error was identical but I had the same kind of problem. 
they are named something like this... I think there are 2 of
them..libmysqlclient.so.10 

-----Original Message-----
From: James Fowler [mailto:santiago () cox net]
Sent: Tuesday, October 29, 2002 10:45 AM
Cc: snort-users () lists sourceforge net
Subject: [Snort-users] SNort 1.9.0 with MySQL logging


Here is the ./configure:
./configure --with-libpcap-includes --with-libpcap-libraries --with-mysql 
--with-openssl --enable-perfmonitor --enable-smbalerts --enable-flexresp

When doing make all goes well until:

plugins -I../../src/preprocessors  -Iyes -I/usr/include/mysql 
-DENABLE_MYSQL -I/usr/local/ssl/include -DENABLE_SSL  -g -O2 -Wall 
-DUSE_SF_STATS -DENABLE_SMB_ALERTS -DENABLE_RESPONSE -c spo_database.c
In file included from spo_database.c:74:
/usr/include/mysql/mysql.h:225: parse error
make[3]: *** [spo_database.o] Error 1
make[3]: Leaving directory `/home/santiago/snort/snort/src/output-plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/santiago/snort/snort/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/santiago/snort/snort'
make: *** [all-recursive-am] Error 2
nose:/home/santiago/snort/snort# 

I am planning on going back a version unless anyone has any solutions for 
this error.

Thanks,
James


-- 
James Fowler
santiago () cox net
ICQ: 59959089

"Thinking implies disagreement; and disagreement implies non-comformity; and non-comformity 
implies heresy; and heresy implies disloyality -- so obviously thinking must be stopped"  
[Call to Greatness, 1954] -- Adlai Stephenson



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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: