[Snort-devel] ./Configure wierdness (1.8.1-RELEASE)

Joe McAlerney joey at ...60...
Wed Aug 22 13:19:10 EDT 2001


This seems to be an issue with the way AC_ARG_ENABLE is being used in
configure.in.  Flexable response produces the same effect if you use
--disable-flexresp.  Does someone know why this is?  For now, just run
configure without any options for the plugins you do not wish to use.

Regards,

-Joe M.

-- 
|   Joe McAlerney     joey at ...63...   |
| Silicon Defense - Technical Support for Snort |
|       http://www.silicondefense.com/          |
+--                                           --+

Michael Boman wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> I do a ./configure with the following options (taken from config.status to
> make sure I get everything right):
> 
> ./configure  --disable-debug --enable-flexresp --with-mysql=/usr/local
> - --without-odbc --without-postgresql --without-openssl --without-snmp
> - --without-oracle --disable-smbalerts --disable-idmef --prefix=/usr/local
> i386--freebsd4.4
> 
> And yet it want to include IDMEF etc (see error message at the end of the
> mail). Now, why does it want to set DEBUG, ENABLE_IDMEF and ENABLE_SMB_ALERTS
> even when I tell it not to do so?
> 
> Host information:
>         FreeBSD ayeka.dyndns.org 4.4-RC FreeBSD 4.4-RC #0: Mon Aug 20 02:36:57 SGT \
>         2001 michael at ...613...:/usr/obj/usr/src/sys/AYEKA  i386
> 
>         Snort 1.8.1-RELEASE
> 
> Best regards
>  Michael Boman
> 
> Error message when compiling:
> # make
> cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/include
> - -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include  -O -pipe
> - -Wall -DDEBUG -ggdb -DENABLE_IDMEF -DENABLE_SMB_ALERTS -DENABLE_RESPONSE
> - -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN
> - -DLIBNET_LIL_ENDIAN -c snort.c
> In file included from plugbase.h:76,
>                  from snort.h:314,
>                  from snort.c:45:
> spo_idmef.h:29: idmefxml.h: No such file or directory
> In file included from plugbase.h:76,
>                  from snort.h:314,
>                  from snort.c:45:
> spo_idmef.h:134: syntax error before `idmef_alertid'
> spo_idmef.h:134: warning: type defaults to `int' in declaration of
> `idmef_alertid'
> spo_idmef.h:134: warning: data definition has no type or storage class
> spo_idmef.h:169: syntax error before `BuildRuleMessageTree'
> spo_idmef.h:169: warning: type defaults to `int' in declaration of
> `BuildRuleMessageTree'
> spo_idmef.h:169: warning: data definition has no type or storage class
> spo_idmef.h:170: syntax error before `BuildSpadeMessageTree'
> spo_idmef.h:170: warning: type defaults to `int' in declaration of
> `BuildSpadeMessageTree'
> spo_idmef.h:170: warning: data definition has no type or storage class
> spo_idmef.h:171: syntax error before `BuildPortscanMessageTree'
> spo_idmef.h:171: warning: type defaults to `int' in declaration of
> `BuildPortscanMessageTree'
> spo_idmef.h:171: warning: data definition has no type or storage class
> spo_idmef.h:172: syntax error before `BuildMessage'
> spo_idmef.h:172: warning: type defaults to `int' in declaration of
> `BuildMessage'
> spo_idmef.h:172: warning: data definition has no type or storage class
> spo_idmef.h:173: syntax error before `BuildAnalyzer'
> spo_idmef.h:173: warning: type defaults to `int' in declaration of
> `BuildAnalyzer'
> spo_idmef.h:173: warning: data definition has no type or storage class
> spo_idmef.h:174: syntax error before `BuildSource'
> spo_idmef.h:174: warning: type defaults to `int' in declaration of
> `BuildSource'
> spo_idmef.h:174: warning: data definition has no type or storage class
> spo_idmef.h:175: syntax error before `BuildTarget'
> spo_idmef.h:175: warning: type defaults to `int' in declaration of
> `BuildTarget'
> spo_idmef.h:175: warning: data definition has no type or storage class
> *** Error code 1
> 
> Stop in /usr/ports/security/snort/work/snort-1.8.1-RELEASE.
> 
> - --
> There is no such thing as a system that is secure out of the box.
> Tim [Timothy M. Mullen, CIO of AnchorIS.Com] claimed earlier this
> morning that he had found one at Val-Mart the other day that was
> secure out of the box, but as it turns out that was a Nintendo.
> 
> - -- Jesper M Johansson, Ph.D. Assistant Professor of Information
>    Systems at Boston University - during a SANS audio broadcast
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (FreeBSD)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE7g6majD4u/xp0yJcRAlrvAJ9YL2Dhlz/kNdoiAzBplV+6phwAEQCePr9D
> /wtLzm9G6OUTmlRSy7ci2xc=
> =ZWEW
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/snort-devel




More information about the Snort-devel mailing list