[Snort-users] Snort no --enable-zlib option

Ed Borgoyn (eborgoyn) eborgoyn at ...589...
Fri Feb 5 07:04:57 EST 2016

  The latest Snort release REQUIRES the zlib package.  There is no
mechanism to build without zlib.  The ‹enable-zlib build option has been
    Ed Borgoyn
    Cisco Snort Development Team

On 2/4/16, 7:20 PM, "Gilbert, Sonia M CTR (US)"
<sonia.m.gilbert.ctr at ...16010...> wrote:

>Sorry forgot to include capture:
> Issued the configure:
>./configure --with-libpcre-libraries=/usr/local/bin/pcre837/lib
>--with-libpcre-includes=/usr/local/bin/pcre837/include --enable-zlib
>--enable-gre --enable-mpls --disable-debug --enable-sourcefire
>--enable-ppm  --disable-corefiles  --enable-react  --enable-flexresp3
>--enable-large-pcap --enable-targetbased --enable-perfprofiling
>--enable-reload --disable-non-ether-decoders --enable-normalizer
>Abbreviated previous output:
>config.status: creating config.h
>config.status: config.h is unchanged
>config.status: executing depfiles commands
>config.status: executing libtool commands
>configure: WARNING: unrecognized options: --enable-zlib
>Configure help does not have an option for it:
>[root at ...17445... snort-]# ./configure -help
>`configure' configures this package to adapt to many kinds of systems.
>Usage: ./configure [OPTION]... [VAR=VALUE]...
>To assign environment variables (e.g., CC, CFLAGS...), specify them as
>VAR=VALUE.  See below for descriptions of some of the useful variables.
>Defaults for the options are specified in brackets.
>  -h, --help              display this help and exit
>      --help=short        display options specific to this package
>      --help=recursive    display the short help of all the included
>  -V, --version           display version information and exit
>  -q, --quiet, --silent   do not print `checking ...' messages
>      --cache-file=FILE   cache test results in FILE [disabled]
>  -C, --config-cache      alias for `--cache-file=config.cache'
>  -n, --no-create         do not create output files
>      --srcdir=DIR        find the sources in DIR [configure dir or `..']
>Installation directories:
>  --prefix=PREFIX         install architecture-independent files in PREFIX
>                          [/usr/local]
>  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
>                          [PREFIX]
>By default, `make install' will install all the files in
>`/usr/local/bin', `/usr/local/lib' etc.  You can specify
>an installation prefix other than `/usr/local' using `--prefix',
>for instance `--prefix=$HOME'.
>For better control, use the options below.
>Fine tuning of the installation directories:
>  --bindir=DIR            user executables [EPREFIX/bin]
>  --sbindir=DIR           system admin executables [EPREFIX/sbin]
>  --libexecdir=DIR        program executables [EPREFIX/libexec]
>  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
>  --sharedstatedir=DIR    modifiable architecture-independent data
>  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
>  --libdir=DIR            object code libraries [EPREFIX/lib]
>  --includedir=DIR        C header files [PREFIX/include]
>  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
>  --datarootdir=DIR       read-only arch.-independent data root
>  --datadir=DIR           read-only architecture-independent data
>  --infodir=DIR           info documentation [DATAROOTDIR/info]
>  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
>  --mandir=DIR            man documentation [DATAROOTDIR/man]
>  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
>  --htmldir=DIR           html documentation [DOCDIR]
>  --dvidir=DIR            dvi documentation [DOCDIR]
>  --pdfdir=DIR            pdf documentation [DOCDIR]
>  --psdir=DIR             ps documentation [DOCDIR]
>Program names:
>  --program-prefix=PREFIX            prepend PREFIX to installed program
>  --program-suffix=SUFFIX            append SUFFIX to installed program
>  --program-transform-name=PROGRAM   run sed PROGRAM on installed program
>System types:
>  --build=BUILD     configure for building on BUILD [guessed]
>  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
>Optional Features:
>  --disable-option-checking  ignore unrecognized --enable/--with options
>  --disable-FEATURE       do not include FEATURE (same as
>  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
>  --enable-silent-rules   less verbose build output (undo: "make V=1")
>  --disable-silent-rules  verbose build output (undo: "make V=0")
>  --enable-dependency-tracking
>                          do not reject slow dependency extractors
>  --disable-dependency-tracking
>                          speeds up one-time build
>  --enable-shared[=PKGS]  build shared libraries [default=yes]
>  --enable-static[=PKGS]  build static libraries [default=yes]
>  --enable-fast-install[=PKGS]
>                          optimize for fast installation [default=yes]
>  --disable-libtool-lock  avoid locking (might break parallel builds)
>  --enable-64bit-gcc       Try to compile 64bit (only tested on Sparc
>Solaris 9 and 10).
>  --enable-so-with-static-lib  Enable linking of dynamically loaded
>preprocessors with a static preprocessor library
>  --enable-control-socket  Enable the control socket
>  --enable-side-channel    Enable the side channel (Experimental)
>  --disable-static-daq     Link static DAQ modules.
>  --enable-build-dynamic-examples   Enable building of example
>dynamically loaded preprocessor and rule (off by default)
>  --disable-dlclose        Only use if you are developing dynamic
>preprocessors or shared object rules.  Disable (--disable-dlclose) for
>testing valgrind leaks in dynamic libraries so a usable backtrace is
>reported.  Enabled by default.
>  --disable-lzma           Disable LZMA Decompression
>  --disable-gre            Disable GRE and IP in IP encapsulation support
>  --disable-mpls           Disable MPLS support
>  --disable-targetbased    Disable Target-Based Support in Stream, Frag,
>and Rules (adds pthread support implicitly)
>  --disable-ppm            Disable packet/rule performance monitor
>  --disable-perfprofiling  Disable preprocessor and rule performance
>  --enable-linux-smp-stats Enable statistics reporting through proc
>  --enable-inline-init-failopen  Enable Fail Open during initialization
>for Inline Mode (adds pthread support implicitly)
>  --disable-pthread        Disable pthread support
>  --enable-debug-msgs      Enable debug printing options (bugreports and
>developers only)
>  --enable-debug           Enable debugging options (bugreports and
>developers only)
>  --enable-gdb             Enable gdb debugging information
>  --enable-profile         Enable profiling options (developers only)
>  --enable-test-coverage   Enable gcov test coverage tracking (developers
>  --disable-ppm-test       Disable packet/rule performance monitor
>  --enable-sourcefire      Enable Sourcefire specific build options,
>encompasing --enable-perfprofiling and --enable-ppm
>  --disable-corefiles      Prevent Snort from generating core files
>  --disable-active-response Disable reject injection
>  --disable-normalizer     Disable packet/stream normalizations
>  --disable-reload         Disable reloading a configuration without
>  --disable-reload-error-restart   Disable restarting on reload error
>  --enable-ha              Enable high-availability state sharing
>  --enable-non-ether-decoders  Enable non Ethernet decoders.
>  --disable-react          Disable interception and termination of
>offending HTTP accesses
>  --disable-flexresp3      Disable flexible responses (v3) on hostile
>connection attempts
>  --enable-intel-soft-cpm  Enable Intel Soft CPM support
>  --enable-shared-rep      Enable use of Shared Memory for Reputation
>(Linux only)
>  --enable-large-pcap      Enable support for pcaps larger than 2 GB
>  --enable-file-inspect   Build with extended file inspection features.
>                          (Experimental)
>  --enable-open-appid     Build with application id support.
>Optional Packages:
>  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
>  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
>  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
>                          both]
>  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
>  --with-sysroot=DIR Search for dependent libraries within DIR
>                        (or the compiler's sysroot if not specified).
>  --with-libpcap-includes=DIR    libpcap include directory
>  --with-libpcap-libraries=DIR   libpcap library directory
>  --with-libpfring-includes=DIR  libpfring include directory
>  --with-libpfring-libraries=DIR libpfring library directory
>  --with-daq-includes=DIR        DAQ include directory
>  --with-daq-libraries=DIR       DAQ library directory
>  --with-libpcre-includes=DIR    libpcre include directory
>  --with-libpcre-libraries=DIR   libpcre library directory
>  --with-openssl-includes=DIR    openssl include directory
>  --with-openssl-libraries=DIR   openssl library directory
>  --with-dnet-includes=DIR       libdnet include directory
>  --with-dnet-libraries=DIR      libdnet library directory
>  --with-lzma-includes=DIR       liblzma include directory
>  --with-lzma-libraries=DIR      liblzma library directory
>  --with-intel-soft-cpm-includes=DIR      Intel Soft CPM include directory
>  --with-intel-soft-cpm-libraries=DIR     Intel Soft CPM library directory
>Some influential environment variables:
>  CC          C compiler command
>  CFLAGS      C compiler flags
>  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
>              nonstandard directory <lib dir>
>  LIBS        libraries to pass to the linker, e.g. -l<library>
>  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir>
>              you have headers in a nonstandard directory <include dir>
>  CPP         C preprocessor
>              set the SIGNAL_SNORT_RELOAD value
>              set the SIGNAL_SNORT_DUMP_STATS value
>              set the SIGNAL_SNORT_ROTATE_STATS value
>              set the SIGNAL_SNORT_READ_ATTR_TBL value
>  PKG_CONFIG  path to pkg-config utility
>              directories to add to pkg-config's search path
>              path overriding pkg-config's built-in search path
>  luajit_CFLAGS
>              C compiler flags for luajit, overriding pkg-config
>  luajit_LIBS linker flags for luajit, overriding pkg-config
>Use these variables to override the choices made by `configure' or to help
>it to find libraries and programs with nonstandard names/locations.
>Report bugs to the package provider.
>[root at ...17445... snort-]#
>-----Original Message-----
>From: Gilbert, Sonia M CTR (US)
>Sent: Thursday, February 04, 2016 2:17 PM
>To: 'Snort-users at lists.sourceforge.net'
><Snort-users at lists.sourceforge.net>
>Subject: Snort no --enable-zlib option
>Dear Snort Community,
>I am trying to install Snort and get the following warning:
>configure: WARNING: unrecognized options: --enable-zlib
>Was zlib replaced by utility?
>Sonia Gilbert
>Regional Cyber Center-Pacific, CTR
>Defensive Cyber Operations Division
>(808) 438-0513
>NIPR:  Sonia.m.gilbert.ctr at ...16010...
>Site24x7 APM Insight: Get Deep Visibility into Application Performance
>APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>Monitor end-to-end web transactions and take corrective actions now
>Troubleshoot faster and improve end-user experience. Signup Now!
>Snort-users mailing list
>Snort-users at lists.sourceforge.net
>Go to this URL to change user options or unsubscribe:
>Snort-users list archive:
>Please visit http://blog.snort.org to stay current on all the latest
>Snort news!

More information about the Snort-users mailing list