This is a discussion on Re: [Snort-users] problem when: ./configure --with-mysql within the Snort forums, part of the System Security and Security Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C49849.C2955662 Content-Type: text/plain; charset="iso-8859-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
------_=_NextPart_001_01C49849.C2955662 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Well it seems to me that if you wish snort to log to a mysql DB then you = need to use the --with-mysql flag. Perhaps you need to point the above = flag to the proper location if your sql client is not installed in = /usr/local/mysql.=20 Perhaps you need to install the entire database engine even though its = only purpose may be to get snort compiled correctly.=20 Shawn Kottke Datalink Corporation -----Original Message----- From: Juan Fernandez <Juan.Fernandez@deltathree.com> To: Shawn Kottke <skottke@datalink.com>; = snort-users@lists.sourceforge.net <snort-users@lists.sourceforge.net> Sent: Sat Sep 11 15:41:44 2004 Subject: RE: [Snort-users] problem when: ./configure --with-mysql so what to do? =20 install snort without the "--with mysql" =20 or remove the sql-client rpm packge which I installed and install from = the source files? =20 thanks !! =20 -----Original Message----- From: Shawn Kottke [mailto:skottke@datalink.com] Sent: Saturday, September 11, 2004 9:05 PM To: snort-users@lists.sourceforge.net Subject: Re: [Snort-users] problem when: ./configure --with-mysql =09 =09 It appears to be looking for mysql to be installed in /usr/local/mysql = which is a default install location for mysql. Check out the installation documents offered on the snort web page the = docs step you through the entire installation. If you are using a different server for the DB you just need to adjust = the output line in the snort.conf file to point to that server instead = of localhost. =09 =09 Shawn Kottke Datalink Corporation =09 =09 -----Original Message----- From: snort-users-admin@lists.sourceforge.net = <snort-users-admin@lists.sourceforge.net> To: 'snort-users@lists.sourceforge.net' = <snort-users@lists.sourceforge.net> Sent: Sat Sep 11 13:42:15 2004 Subject: [Snort-users] problem when: ./configure --with-mysql =09 =09 Hi !! =09 I installed snort 2.2 on the sensor ( the menegment server is another machine). =09 the sensor is Fedora. =09 after in untar the file I downloaded from snort.org I issue the = commands as fololowed bot I get an error which says: =09 ********************************************** ERROR: unable to find mysql headers (mysql.h) checked in the following places ********************************************** =09 here is what I did: =09 [root@sensor-Jr-lan snort-2.2.0]# ./configure = --with-mysql=3D/usr/bin/mysql checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking dependency style of gcc... gcc3 checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking dependency style of gcc... (cached) gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether byte ordering is bigendian... no checking for sparc alignment... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for inet_ntoa in -lnsl... yes checking for socket in -lsocket... no checking whether printf must be declared... no checking whether fprintf must be declared... no checking whether syslog must be declared... no checking whether puts must be declared... no checking whether fputs must be declared... no checking whether fputc must be declared... no checking whether fopen must be declared... no checking whether fclose must be declared... no checking whether fwrite must be declared... no checking whether fflush must be declared... no checking whether getopt must be declared... no checking whether bzero must be declared... no checking whether bcopy must be declared... no checking whether memset must be declared... no checking whether strtol must be declared... no checking whether strcasecmp must be declared... no checking whether strncasecmp must be declared... no checking whether strerror must be declared... no checking whether perror must be declared... no checking whether socket must be declared... no checking whether sendto must be declared... no checking whether vsnprintf must be declared... no checking whether snprintf must be declared... no checking whether strtoul must be declared... no checking for snprintf... yes checking for strlcpy... no checking for strlcat... no checking for strerror... yes checking for __FUNCTION__... yes checking for floor in -lm... yes checking for pcap_datalink in -lpcap... yes checking pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking for pcre_compile in -lpcre... yes checking for mysql... =09 ********************************************** ERROR: unable to find mysql headers (mysql.h) checked in the following places ********************************************** root@sensor-Jr-lan snort-2.2.0]# find / -name mysql.h /snortinstall/snort-2.2.0/src/win32/WIN32-Includes/mysql/mysql.h /snortinstall/mysql-3.23.52-pc-linux-gnu-i686/include/mysql.h [root@sensor-Jr-lan snort-2.2.0]# cp /snortinstall/snort-2.2.0/src/win32/WIN32-Includes/mysql/mysql.h /usr/bin/mysql cp: overwrite `/usr/bin/mysql'? y =20 [root@sensor-Jr-lan snort-2.2.0]# whereis mysql mysql: /usr/bin/mysql /usr/share/man/man1/mysql.1.gz =09 =09 Any ideas ? =09 thanks !! =09 =09 =09 =09 ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Snort-users mailing list Snort-users@lists.sourceforge.net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/...fo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.p...=3Dsnort-users =09 ------_=_NextPart_001_01C49849.C2955662 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <TITLE>Re: [Snort-users] problem when: ./configure --with-mysql</TITLE> </HEAD> <BODY> <!-- Converted from text/plain format --> <P><FONT SIZE=3D2>Well it seems to me that if you wish snort to log to a = mysql DB then you need to use the --with-mysql flag. Perhaps you need to = point the above flag to the proper location if your sql client is not = installed in /usr/local/mysql.<BR> Perhaps you need to install the entire database engine even though its = only purpose may be to get snort compiled correctly.<BR> <BR> <BR> Shawn Kottke<BR> Datalink Corporation<BR> <BR> <BR> -----Original Message-----<BR> From: Juan Fernandez <Juan.Fernandez@deltathree.com><BR> To: Shawn Kottke <skottke@datalink.com>; = snort-users@lists.sourceforge.net = <snort-users@lists.sourceforge.net><BR> Sent: Sat Sep 11 15:41:44 2004<BR> Subject: RE: [Snort-users] problem when: ./configure --with-mysql<BR> <BR> so what to do?<BR> <BR> install snort without the "--with mysql"<BR> <BR> or remove the sql-client rpm packge which I installed and install from = the source files?<BR> <BR> thanks !!<BR> <BR> <BR> -----Original = Message-----<BR> From: Shawn Kottke [<A = HREF=3D"mailto:skottke@datalink.com">mailto:skottk e@datalink.com</A>]<BR>= Sent: Saturday, September 11, = 2004 9:05 PM<BR> To: = snort-users@lists.sourceforge.net<BR> Subject: Re: [Snort-users] = problem when: ./configure --with-mysql<BR> <BR> <BR> <BR> It appears to be looking for = mysql to be installed in /usr/local/mysql which is a default install = location for mysql.<BR> Check out the installation = documents offered on the snort web page the docs step you through the = entire installation.<BR> If you are using a different = server for the DB you just need to adjust the output line in the = snort.conf file to point to that server instead of localhost.<BR> <BR> <BR> Shawn Kottke<BR> Datalink Corporation<BR> <BR> <BR> -----Original = Message-----<BR> From: = snort-users-admin@lists.sourceforge.net = <snort-users-admin@lists.sourceforge.net><BR> To: = 'snort-users@lists.sourceforge.net' = <snort-users@lists.sourceforge.net><BR> Sent: Sat Sep 11 13:42:15 = 2004<BR> Subject: [Snort-users] = problem when: ./configure --with-mysql<BR> <BR> <BR> Hi !!<BR> <BR> I installed snort 2.2 on the = sensor ( the menegment server is another<BR> machine).<BR> <BR> the sensor is Fedora.<BR> <BR> after in untar the file I = downloaded from snort.org I issue the commands as<BR> fololowed bot I get an error = which says:<BR> <BR> = **********************************************<BR> ERROR: unable to find = mysql headers (mysql.h)<BR> checked in the = following places<BR> = **********************************************<BR> <BR> here is what I did:<BR> <BR> [root@sensor-Jr-lan = snort-2.2.0]# ./configure --with-mysql=3D/usr/bin/mysql<BR> checking for a BSD-compatible = install... /usr/bin/install -c<BR> checking whether build = environment is sane... yes<BR> checking for gawk... gawk<BR> checking whether make sets = ${MAKE}... yes<BR> checking for style of include = used by make... GNU<BR> checking for gcc... gcc<BR> checking for C compiler = default output... a.out<BR> checking whether the C = compiler works... yes<BR> checking whether we are cross = compiling... no<BR> checking for suffix of = executables...<BR> checking for suffix of object = files... o<BR> checking whether we are using = the GNU C compiler... yes<BR> checking whether gcc accepts = -g... yes<BR> checking dependency style of = gcc... gcc3<BR> checking for gcc option to = accept ANSI C... none needed<BR> checking for ranlib... = ranlib<BR> checking for gcc... (cached) = gcc<BR> checking whether we are using = the GNU C compiler... (cached) yes<BR> checking whether gcc accepts = -g... (cached) yes<BR> checking dependency style of = gcc... (cached) gcc3<BR> checking build system type... = i686-pc-linux-gnu<BR> checking host system type... = i686-pc-linux-gnu<BR> checking whether byte = ordering is bigendian... no<BR> checking for sparc = alignment... no<BR> checking how to run the C = preprocessor... gcc -E<BR> checking for ANSI C header = files... yes<BR> checking for sys/types.h... = yes<BR> checking for sys/stat.h... = yes<BR> checking for stdlib.h... = yes<BR> checking for string.h... = yes<BR> checking for memory.h... = yes<BR> checking for strings.h... = yes<BR> checking for inttypes.h... = yes<BR> checking for stdint.h... = yes<BR> checking for unistd.h... = yes<BR> checking for strings.h... = (cached) yes<BR> checking for string.h... = (cached) yes<BR> checking for stdlib.h... = (cached) yes<BR> checking for unistd.h... = (cached) yes<BR> checking sys/sockio.h = usability... no<BR> checking sys/sockio.h = presence... no<BR> checking for sys/sockio.h... = no<BR> checking paths.h usability... = yes<BR> checking paths.h presence... = yes<BR> checking for paths.h... = yes<BR> checking for inet_ntoa in = -lnsl... yes<BR> checking for socket in = -lsocket... no<BR> checking whether printf must = be declared... no<BR> checking whether fprintf must = be declared... no<BR> checking whether syslog must = be declared... no<BR> checking whether puts must be = declared... no<BR> checking whether fputs must = be declared... no<BR> checking whether fputc must = be declared... no<BR> checking whether fopen must = be declared... no<BR> checking whether fclose must = be declared... no<BR> checking whether fwrite must = be declared... no<BR> checking whether fflush must = be declared... no<BR> checking whether getopt must = be declared... no<BR> checking whether bzero must = be declared... no<BR> checking whether bcopy must = be declared... no<BR> checking whether memset must = be declared... no<BR> checking whether strtol must = be declared... no<BR> checking whether strcasecmp = must be declared... no<BR> checking whether strncasecmp = must be declared... no<BR> checking whether strerror = must be declared... no<BR> checking whether perror must = be declared... no<BR> checking whether socket must = be declared... no<BR> checking whether sendto must = be declared... no<BR> checking whether vsnprintf = must be declared... no<BR> checking whether snprintf = must be declared... no<BR> checking whether strtoul must = be declared... no<BR> checking for snprintf... = yes<BR> checking for strlcpy... = no<BR> checking for strlcat... = no<BR> checking for strerror... = yes<BR> checking for __FUNCTION__... = yes<BR> checking for floor in -lm... = yes<BR> checking for pcap_datalink in = -lpcap... yes<BR> checking pcre.h usability... = yes<BR> checking pcre.h presence... = yes<BR> checking for pcre.h... = yes<BR> checking for pcre_compile in = -lpcre... yes<BR> checking for mysql...<BR> <BR> = **********************************************<BR> ERROR: unable to find = mysql headers (mysql.h)<BR> checked in the = following places<BR> = **********************************************<BR> root@sensor-Jr-lan = snort-2.2.0]# find / -name mysql.h<BR> = /snortinstall/snort-2.2.0/src/win32/WIN32-Includes/mysql/mysql.h<BR> = /snortinstall/mysql-3.23.52-pc-linux-gnu-i686/include/mysql.h<BR> [root@sensor-Jr-lan = snort-2.2.0]# cp<BR> = /snortinstall/snort-2.2.0/src/win32/WIN32-Includes/mysql/mysql.h<BR> /usr/bin/mysql<BR> cp: overwrite = `/usr/bin/mysql'? y <BR> [root@sensor-Jr-lan = snort-2.2.0]# whereis mysql<BR> mysql: /usr/bin/mysql = /usr/share/man/man1/mysql.1.gz<BR> <BR> <BR> Any ideas ?<BR> <BR> thanks !!<BR> <BR> <BR> <BR> <BR> = -------------------------------------------------------<BR> This SF.Net email is = sponsored by: YOU BE THE JUDGE. Be one of 170<BR> Project Admins to receive an = Apple iPod Mini FREE for your judgement on<BR> who ports your project to = Linux PPC the best. Sponsored by IBM.<BR> Deadline: Sept. 13. Go here: = <A = HREF=3D"http://sf.net/ppc_contest.php">http://sf.net/ppc_contest.php</A><= BR> = _______________________________________________<BR > Snort-users mailing list<BR> = Snort-users@lists.sourceforge.net<BR> Go to this URL to change user = options or unsubscribe:<BR> <A = HREF=3D"https://lists.sourceforge.net/lists/listinfo/snort-users">https:/= /lists.sourceforge.net/lists/listinfo/snort-users</A><BR> Snort-users list archive:<BR> <A = HREF=3D"http://www.geocrawler.com/redir-sf.php3?list=3Dsnort-users">http:= //www.geocrawler.com/redir-sf.php3?list=3Dsnort-users</A><BR> <BR> <BR> </FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C49849.C2955662-- ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Snort-users mailing list Snort-users@lists.sourceforge.net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/...fo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.p...st=snort-users |