Snort mailing list archives
Re: Snort & logging to MySQL on another box
From: Steve Wingate <steve () velosystems net>
Date: Fri, 16 Nov 2001 11:33:34 -0800
On Fri, 16 Nov 2001 12:52:00 -0600 "Steve Halligan" <agent33 () geeksquad com> wrote:
You didn't happen to catch the output from ./configure relating to mysql? My guess is that you had an error somewhere in there. It wouldn't be a fatal error, so configure would just keep trucking and you may never notice it. Look in the config.log file where you built snort and see if the mysql lines errored out.
Here is the config.log. I don't see anything outstanding in it. This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.52. Invocation command line was $ ./configure --with-mysql=/usr/local/mysql ## ---------- ## ## Platform. ## ## ---------- ## hostname = lucifer uname -m = i386 uname -r = 2.9 uname -s = OpenBSD uname -v = FW#0 /usr/bin/uname -p = Intel Pentium/MMX ("GenuineIntel" 586-class) /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = OpenBSD.i386 /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH = /root/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/games:. ## ------------ ## ## Core tests. ## ## ------------ ## configure:979: PATH=".;."; conftest.sh ./configure[987]: conftest.sh: not found configure:982: $? = 127 configure:1032: checking for a BSD compatible install configure:1081: result: /usr/bin/install -c configure:1092: checking whether build environment is sane configure:1135: result: yes configure:1150: checking whether make sets ${MAKE} configure:1170: result: yes configure:1198: checking for working aclocal configure:1209: result: missing configure:1213: checking for working autoconf configure:1224: result: missing configure:1228: checking for working automake configure:1239: result: missing configure:1243: checking for working autoheader configure:1254: result: missing configure:1258: checking for working makeinfo configure:1265: result: found configure:1316: checking for gcc configure:1331: found /usr/bin/gcc configure:1339: result: gcc configure:1567: checking for C compiler version configure:1570: gcc --version </dev/null >&5 2.95.3 configure:1573: $? = 0 configure:1575: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd2.9/2.95.3/specs gcc version 2.95.3 20010125 (prerelease) configure:1578: $? = 0 configure:1580: gcc -V </dev/null >&5 gcc: argument to `-V' is missing configure:1583: $? = 1 configure:1603: checking for C compiler default output configure:1606: gcc conftest.c >&5 configure:1609: $? = 0 configure:1638: result: a.out configure:1643: checking whether the C compiler works configure:1649: ./a.out configure:1652: $? = 0 configure:1667: result: yes configure:1674: checking whether we are cross compiling configure:1676: result: no configure:1679: checking for executable suffix configure:1681: gcc -o conftest conftest.c >&5 configure:1684: $? = 0 configure:1706: result: configure:1712: checking for object suffix configure:1730: gcc -c conftest.c >&5 configure:1733: $? = 0 configure:1752: result: o configure:1756: checking whether we are using the GNU C compiler configure:1777: gcc -c conftest.c >&5 configure:1780: $? = 0 configure:1783: test -s conftest.o configure:1786: $? = 0 configure:1798: result: yes configure:1804: checking whether gcc accepts -g configure:1822: gcc -c -g conftest.c >&5 configure:1825: $? = 0 configure:1828: test -s conftest.o configure:1831: $? = 0 configure:1841: result: yes configure:1868: gcc -c -g -O2 conftest.c >&5 conftest.c:2: syntax error before `me' configure:1871: $? = 1 configure: failed program was: #ifndef __cplusplus choke me #endif configure:1969: checking for gcc option to accept ANSI C configure:2028: gcc -c -g -O2 conftest.c >&5 configure:2031: $? = 0 configure:2034: test -s conftest.o configure:2037: $? = 0 configure:2051: result: none needed configure:2105: checking for gcc configure:2128: result: gcc configure:2356: checking for C compiler version configure:2359: gcc --version </dev/null >&5 2.95.3 configure:2362: $? = 0 configure:2364: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd2.9/2.95.3/specs gcc version 2.95.3 20010125 (prerelease) configure:2367: $? = 0 configure:2369: gcc -V </dev/null >&5 gcc: argument to `-V' is missing configure:2372: $? = 1 configure:2375: checking whether we are using the GNU C compiler configure:2417: result: yes configure:2423: checking whether gcc accepts -g configure:2460: result: yes configure:2487: gcc -c -g -O2 conftest.c >&5 conftest.c:2: syntax error before `me' configure:2490: $? = 1 configure: failed program was: #ifndef __cplusplus choke me #endif configure:2609: checking build system type configure:2627: result: i386-unknown-openbsd2.9 configure:2634: checking host system type configure:2648: result: i386-unknown-openbsd2.9 configure:2658: checking whether byte ordering is bigendian configure:2683: gcc -c -g -O2 -Wall conftest.c >&5 configure:2686: $? = 0 configure:2689: test -s conftest.o configure:2692: $? = 0 configure:2713: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:2704: syntax error before `big' configure:2716: $? = 1 configure: failed program was: #line 2696 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/param.h> int main () { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } configure:2780: result: no configure:2939: checking how to run the C preprocessor configure:2965: gcc -E conftest.c configure:2971: $? = 0 configure:2998: gcc -E conftest.c configure:2995: ac_nonexistent.h: No such file or directory configure:3004: $? = 1 configure: failed program was: #line 2994 "configure" #include "confdefs.h" #include <ac_nonexistent.h> configure:3041: result: gcc -E configure:3056: gcc -E conftest.c configure:3062: $? = 0 configure:3089: gcc -E conftest.c configure:3086: ac_nonexistent.h: No such file or directory configure:3095: $? = 1 configure: failed program was: #line 3085 "configure" #include "confdefs.h" #include <ac_nonexistent.h> configure:3137: checking for strings.h configure:3147: gcc -E conftest.c configure:3153: $? = 0 configure:3172: result: yes configure:3185: checking for string.h configure:3195: gcc -E conftest.c configure:3201: $? = 0 configure:3220: result: yes configure:3233: checking for stdlib.h configure:3243: gcc -E conftest.c configure:3249: $? = 0 configure:3268: result: yes configure:3281: checking for unistd.h configure:3291: gcc -E conftest.c configure:3297: $? = 0 configure:3316: result: yes configure:3329: checking for sys/sockio.h configure:3339: gcc -E conftest.c configure:3345: $? = 0 configure:3364: result: yes configure:3377: checking for paths.h configure:3387: gcc -E conftest.c configure:3393: $? = 0 configure:3412: result: yes configure:3424: checking for inet_ntoa in -lnsl configure:3451: gcc -o conftest -g -O2 -Wall conftest.c -lnsl >&5 ld: -lnsl: no match collect2: ld returned 1 exit status configure:3454: $? = 1 configure: failed program was: #line 3432 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char inet_ntoa (); int main () { inet_ntoa (); ; return 0; } configure:3471: result: no configure:3486: checking for socket in -lsocket configure:3513: gcc -o conftest -g -O2 -Wall conftest.c -lsocket >&5 ld: -lsocket: no match collect2: ld returned 1 exit status configure:3516: $? = 1 configure: failed program was: #line 3494 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char socket (); int main () { socket (); ; return 0; } configure:3533: result: no configure:3711: checking whether printf must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether fprintf must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether syslog must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether puts must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether fputs must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether fputc must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether fopen must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether fclose must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether fwrite must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether fflush must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether getopt must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether bzero must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether bcopy must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether memset must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether strtol must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether strcasecmp must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether strncasecmp must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether strerror must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether perror must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether socket must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether sendto must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether vsnprintf must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether snprintf must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3711: checking whether strtoul must be declared configure:3746: gcc -c -g -O2 -Wall conftest.c >&5 configure: In function `main': configure:3739: warning: unused variable `pfn' configure:3749: $? = 0 configure:3752: test -s conftest.o configure:3755: $? = 0 configure:3775: result: no configure:3784: checking for snprintf configure:3821: gcc -o conftest -g -O2 -Wall conftest.c >&5 configure:3824: $? = 0 configure:3827: test -s conftest configure:3830: $? = 0 configure:3840: result: yes configure:3853: checking for strlcpy configure:3890: gcc -o conftest -g -O2 -Wall conftest.c >&5 configure:3893: $? = 0 configure:3896: test -s conftest configure:3899: $? = 0 configure:3909: result: yes configure:3922: checking for strlcat configure:3959: gcc -o conftest -g -O2 -Wall conftest.c >&5 configure:3962: $? = 0 configure:3965: test -s conftest configure:3968: $? = 0 configure:3978: result: yes configure:3991: checking for strerror configure:4028: gcc -o conftest -g -O2 -Wall conftest.c >&5 configure:4031: $? = 0 configure:4034: test -s conftest configure:4037: $? = 0 configure:4047: result: yes configure:4072: gcc -c -g -O2 -Wall conftest.c >&5 configure:4075: $? = 0 configure:4078: test -s conftest.o configure:4081: $? = 0 configure:4117: checking for floor in -lm configure:4144: gcc -o conftest -g -O2 -Wall conftest.c -lm >&5 configure:4147: $? = 0 configure:4150: test -s conftest configure:4153: $? = 0 configure:4164: result: yes configure:4177: checking for pcap_datalink in -lpcap configure:4204: gcc -o conftest -g -O2 -Wall conftest.c -lpcap -lm >&5 configure:4207: $? = 0 configure:4210: test -s conftest configure:4213: $? = 0 configure:4224: result: yes configure:4268: checking for mysql configure:4336: result: yes configure:4341: checking for compress in -lz configure:4368: gcc -o conftest -g -O2 -Wall -I/usr/local/include/mysql -DENABLE_MYSQL -L/usr/local/lib/mysql conftest.c -lz -lpcap -lm >&5 configure:4371: $? = 0 configure:4374: test -s conftest configure:4377: $? = 0 configure:4388: result: yes configure:6029: checking for u_int8_t configure:6050: gcc -c -g -O2 -Wall -I/usr/local/include/mysql -DENABLE_MYSQL conftest.c >&5 configure:6053: $? = 0 configure:6056: test -s conftest.o configure:6059: $? = 0 configure:6069: result: yes configure:6081: checking for u_int16_t configure:6102: gcc -c -g -O2 -Wall -I/usr/local/include/mysql -DENABLE_MYSQL conftest.c >&5 configure:6105: $? = 0 configure:6108: test -s conftest.o configure:6111: $? = 0 configure:6121: result: yes configure:6133: checking for u_int32_t configure:6154: gcc -c -g -O2 -Wall -I/usr/local/include/mysql -DENABLE_MYSQL conftest.c >&5 configure:6157: $? = 0 configure:6160: test -s conftest.o configure:6163: $? = 0 configure:6173: result: yes configure:6205: checking for a BSD compatible install configure:6254: result: /usr/bin/install -c configure:6345: creating ./config.status ## ----------------------- ## ## Running config.status. ## ## ----------------------- ## This file was extended by config.status 2.52, executed with CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = > ./config.status on lucifer config.status:6809: creating Makefile config.status:6901: creating config.h ## ----------------- ## ## Cache variables. ## ## ----------------- ## ac_cv_build=i386-unknown-openbsd2.9 ac_cv_build_alias=i386-unknown-openbsd2.9 ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_snprintf=yes ac_cv_func_strerror=yes ac_cv_func_strlcat=yes ac_cv_func_strlcpy=yes ac_cv_header_paths_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_sockio_h=yes ac_cv_header_unistd_h=yes ac_cv_host=i386-unknown-openbsd2.9 ac_cv_host_alias=i386-unknown-openbsd2.9 ac_cv_lib_m_floor=yes ac_cv_lib_nsl_inet_ntoa=no ac_cv_lib_pcap_pcap_datalink=yes ac_cv_lib_socket_socket=no ac_cv_lib_z_compress=yes ac_cv_objext=o ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_type_u_int16_t=yes ac_cv_type_u_int32_t=yes ac_cv_type_u_int8_t=yes am_cv_prog_cc_stdc= sn_cv_decl_needed_bcopy=no sn_cv_decl_needed_bzero=no sn_cv_decl_needed_fclose=no sn_cv_decl_needed_fflush=no sn_cv_decl_needed_fopen=no sn_cv_decl_needed_fprintf=no sn_cv_decl_needed_fputc=no sn_cv_decl_needed_fputs=no sn_cv_decl_needed_fwrite=no sn_cv_decl_needed_getopt=no sn_cv_decl_needed_memset=no sn_cv_decl_needed_perror=no sn_cv_decl_needed_printf=no sn_cv_decl_needed_puts=no sn_cv_decl_needed_sendto=no sn_cv_decl_needed_snprintf=no sn_cv_decl_needed_socket=no sn_cv_decl_needed_strcasecmp=no sn_cv_decl_needed_strerror=no sn_cv_decl_needed_strncasecmp=no sn_cv_decl_needed_strtol=no sn_cv_decl_needed_strtoul=no sn_cv_decl_needed_syslog=no sn_cv_decl_needed_vsnprintf=no ## ------------ ## ## confdefs.h. ## ## ------------ ## #define PACKAGE "snort" #define VERSION "1.8.2" #define OPENBSD 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_STDLIB_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_SOCKIO_H 1 #define HAVE_PATHS_H 1 #define HAVE_SNPRINTF 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 #define HAVE_STRERROR 1 #define ERRLIST_PREDEFINED 1 #define HAVE_LIBM 1 #define HAVE_LIBPCAP 1 #define HAVE_LIBZ 1 configure: exit 0 ## ----------------------- ## ## Running config.status. ## ## ----------------------- ## This file was extended by config.status 2.52, executed with CONFIG_FILES = Makefile CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = > ./config.status on lucifer config.status:6809: creating Makefile _______________________________________________ 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:
- Snort & logging to MySQL on another box Steve Wingate (Nov 15)
- RE: Snort & logging to MySQL on another box Jason Lewis (Nov 15)
- RE: Snort & logging to MySQL on another box Wayne T Work (Nov 16)
- Re: Snort & logging to MySQL on another box Steve Wingate (Nov 16)
- RE: Snort & logging to MySQL on another box Wayne T Work (Nov 16)
- <Possible follow-ups>
- RE: Snort & logging to MySQL on another box Steve Halligan (Nov 16)
- Re: Snort & logging to MySQL on another box Steve Wingate (Nov 16)
- RE: Snort & logging to MySQL on another box Jason Lewis (Nov 16)
- Re: Snort & logging to MySQL on another box Steve Wingate (Nov 16)
- Re: Snort & logging to MySQL on another box Steve Wingate (Nov 16)
- RE: Snort & logging to MySQL on another box Jason Lewis (Nov 15)