Snort mailing list archives
RE: ./configure --with-mysql= ?
From: "Ronneil Camara" <ronneilc () remingtonltd com>
Date: Tue, 2 Apr 2002 08:56:50 -0600
Try ./configure --with-mysql=/usr or ./configure --with-mysql=/usr/local Hope this helps.....
-----Original Message----- From: John Sage [mailto:jsage () finchhaven com] Sent: Monday, April 01, 2002 6:29 PM To: snort-users () lists sourceforge net Subject: [Snort-users] ./configure --with-mysql= ? OK: I'm going nuts here. Putting on snort-1.8.4 about a week after putting 1.8.2 on the same box, with MySQL support. In /usr/local/snort-1.8.4/ I say: ./configure --with-mysql=/usr/include/mysql/ or I say: ./configure --with-mysql=/usr/include/mysql and I get "checking for mysql... no" and when I do make I get: <snip> make[2]: Entering directory `/usr/local/snort-1.8.4' gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap -g -O2 -Wall -c snort.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap -g -O2 -Wall -c log.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap -g -O2 -Wall -c decode.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap -g -O2 -Wall -c mstring.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap -g -O2 -Wall -c rules.c <snip> So ./configure is clearly not seeing either --with-mysql= statement. ls -la /usr/include/mysql/ yeilds: drwxr-xr-x 2 root root 4096 Jun 27 2001 . drwxr-xr-x 77 root root 8192 Jun 27 2001 .. -rw-r--r-- 1 root root 3437 Mar 28 2001 dbug.h -rw-r--r-- 1 root root 1979 Mar 28 2001 errmsg.h -rw-r--r-- 1 root root 5846 Mar 28 2001 m_ctype.h -rw-r--r-- 1 root root 7452 Mar 28 2001 m_string.h -rw-r--r-- 1 root root 18991 Mar 28 2001 my_config.h -rw-r--r-- 1 root root 29919 Mar 28 2001 my_global.h -rw-r--r-- 1 root root 1579 Mar 28 2001 my_list.h -rw-r--r-- 1 root root 1324 Mar 28 2001 my_net.h -rw-r--r-- 1 root root 1206 Mar 28 2001 my_no_pthread.h -rw-r--r-- 1 root root 21161 Mar 28 2001 my_pthread.h -rw-r--r-- 1 root root 8598 Mar 28 2001 mysql_com.h -rw-r--r-- 1 root root 6959 Mar 28 2001 mysqld_error.h -rw-r--r-- 1 root root 10562 Mar 28 2001 mysql.h -rw-r--r-- 1 root root 558 Mar 28 2001 mysql_version.h -rw-r--r-- 1 root root 24248 Mar 28 2001 my_sys.h -rw-r--r-- 1 root root 5836 Mar 28 2001 raid.h -rw-r--r-- 1 root root 1605 Mar 28 2001 sslopt-case.h -rw-r--r-- 1 root root 1296 Mar 28 2001 sslopt-longopts.h -rw-r--r-- 1 root root 1235 Mar 28 2001 sslopt-usage.h -rw-r--r-- 1 root root 1013 Mar 28 2001 sslopt-vars.h For 1.8.2: grep mysql /usr/local/snort-1.8.2/config.log yeilds: $ ./configure --with-mysql=/usr/include/mysql/ configure:4268: checking for mysql configure:4368: gcc -o conftest -g -O2 -Wall -I/usr/include/mysql -DENABLE_MYSQL -L/usr/lib/mysql conftest.c -lz -lpcap -lm -lnsl >&5 configure:6050: gcc -c -g -O2 -Wall -I/usr/include/mysql -DENABLE_MYSQL conftest.c >&5 configure:6102: gcc -c -g -O2 -Wall -I/usr/include/mysql -DENABLE_MYSQL conftest.c >&5 configure:6154: gcc -c -g -O2 -Wall -I/usr/include/mysql -DENABLE_MYSQL conftest.c >&5 So it worked when I put on 1.8.2 a week ago.. And it worked when I put 1.8.4 on another box about 2 hours ago. ..what am I missing? - John -- In those days, you could not buy a $2000 200MHz Pentium server. _______________________________________________ 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:
- ./configure --with-mysql= ? John Sage (Apr 02)
- Re: ./configure --with-mysql= ? Chris Green (Apr 02)
- Re: ./configure --with-mysql= ? John Sage (Apr 02)
- Re: ./configure --with-mysql= ? John Sage (Apr 02)
- <Possible follow-ups>
- RE: ./configure --with-mysql= ? Ronneil Camara (Apr 02)
- Re: ./configure --with-mysql= ? Chris Green (Apr 02)