Snort mailing list archives
[Fwd: Re: Error while compile snort with mysql version 4.0.17]
From: <bclark () bwkip com>
Date: Fri, 16 Jan 2004 15:26:41 -0500 (EST)
-------- Original Message -------- Subject: Re: [Snort-users] Error while compile snort with mysql version 4.0.17 From: <bclark () bwkip com> Date: Fri, January 16, 2004 3:23 pm To: <Dirk () geschke-online de>
is zlib installed? You need libz.a or libz.so.
I had zlib installed version 1.1.4.
Additionally take a look at configure.log. Jump to the end and search backwards for "configure". One of the last configure statements will describe the error and will give you a hint what is going wrong. Best regards Dirk
Below is the output for configure: 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.53. Invocation command line was $ ./configure --with-mysql=/usr/src/mysql ## --------- ## ## Platform. ## ## --------- ## hostname = laptop.bwkip.com uname -m = i686 uname -r = 2.4.20-27.9bclark2 uname -s = Linux uname -v = #2 Mon Jan 5 19:18:26 EST 2004 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1258: checking for a BSD-compatible install configure:1312: result: /usr/bin/install -c configure:1323: checking whether build environment is sane configure:1366: result: yes configure:1399: checking for gawk configure:1415: found /bin/gawk configure:1425: result: gawk configure:1435: checking whether make sets ${MAKE} configure:1455: result: yes configure:1620: checking for style of include used by make configure:1648: result: GNU configure:1719: checking for gcc configure:1735: found /usr/bin/gcc configure:1745: result: gcc configure:1989: checking for C compiler version configure:1992: gcc --version </dev/null >&5 gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1995: $? = 0 configure:1997: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread model: posix gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) configure:2000: $? = 0 configure:2002: gcc -V </dev/null >&5 gcc: argument to `-V' is missing configure:2005: $? = 1 configure:2031: checking for C compiler default output configure:2034: gcc -lz conftest.c >&5 /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status configure:2037: $? = 1 configure: failed program was: #line 2008 "configure" #include "confdefs.h" #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { ; return 0; } configure:2064: error: C compiler cannot create executables ## ---------------- ## ## Cache variables. ## ## ---------------- ## 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=set ac_cv_env_LDFLAGS_value=-lz 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_path_install='/usr/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_make_make_set=yes ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE "snort" #define VERSION "2.1.0" configure: exit 77 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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:
- [Fwd: Re: Error while compile snort with mysql version 4.0.17] bclark (Jan 16)
- Re: [Fwd: Re: Error while compile snort with mysql version 4.0.17] Dirk Geschke (Jan 16)