[Snort-devel] Re:

Jeff Nathan jeff at ...835...
Wed Mar 26 01:39:13 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Neil,

The problem you're experiencing is in the flexresp portion of the configure 
script.  I accidentally crept this problem into the tree between 1.9 and 
1.9.1.  Updated patches for snort-1.9.1 and snort-2.0 are available here:

http://cerberus.sourcefire.com/~jeff/tmp

Make sure to read the READ_ME_FIRST.txt file for instructions on applying 
the patch.

Marty: Chris will commit to HEAD.

- -Jeff

- --On Tuesday, March 25, 2003 22:39:15 -0500 Martin Roesch 
<roesch at ...402...> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> What version of automake/autoconf do you have on your system?
>
>       -Marty
>
> On Tuesday, March 25, 2003, at 11:05  AM, Neil Dickey wrote:
>
>> I posted this to the Snort user's list, but have not gotten a response
>> there.  Because it involves a failure in the 'configure' file, it may
>> qualify as a bug even though I am unable to reach the compilation step.
>>
>> I apologize if this has been dealt with recently, but I searched the
>> list traffic back to last September, and didn't find the problem
>> addressed.  I've checked the documentation and looked at the innards
>> of the script, but had no success.  I even downloaded a fresh copy
>> and tried again, but still no joy.
>>
>> The 'configure' script for Snort1.9.1 fails with the output:
>>
>>   ./configure: test: argument expected
>>
>> The full record of the 'configure' run is appended below my signature.
>>
>> Here is my invocation of 'configure':
>>
>>   ./configure --enable-flexresp \
>>               --with-libnet-libraries=/usr/lib \
>>               --with-libnet-includes=/usr/include \
>>               --with-libpcap-libraries=/usr/local/lib \
>>               --with-libpcap-includes=/usr/local/include
>>
>> The libraries and includes are in fact in these locations except
>> that the libnet includes are in a subdirectory of /usr/include, as
>> /usr/include/libnet .  My reading of the documentation indicates
>> that my path above is correct and that the script will supply the
>> further subdirectory.  In any event, I have tried both ways and the
>> problem occurs with and without the complete path to the libnet
>> includes.
>>
>> Platform particulars:
>>
>>   Sun-Sparc, Solaris 2.7
>>   libnet 1.0.2a
>>   libpcap 0.7.2
>>   gcc 2.95.2  ( Not really relevant; never got there ... )
>>
>> It is my understanding that the most recent release of libnet, 1.1.0,
>> won't work with Snort.
>>
>> I would be most grateful for any help anyone could offer.
>>
>> Best regards,
>>
>> Neil Dickey, Ph.D.
>> Research Associate/Sysop
>> Geology Department
>> Northern Illinois University
>> DeKalb, Illinois
>> 60115
>>
>> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
>> Configure script output
>> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
>>
>> loading cache ./config.cache
>> checking for a BSD compatible install... ./install-sh -c
>> checking whether build environment is sane... yes
>> checking whether make sets ${MAKE}... yes
>> checking for working aclocal... missing
>> checking for working autoconf... missing
>> checking for working automake... missing
>> checking for working autoheader... missing
>> checking for working makeinfo... missing
>> checking for gcc... gcc
>> checking whether the C compiler (gcc  ) works... yes
>> checking whether the C compiler (gcc  ) is a cross-compiler... no
>> checking whether we are using GNU C... yes
>> checking whether gcc accepts -g... yes
>> checking for gcc option to accept ANSI C... none needed
>> checking for ranlib... ranlib
>> checking for gcc... (cached) gcc
>> checking whether the C compiler (gcc -g -O2 ) works... yes
>> checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
>> checking whether we are using GNU C... (cached) yes
>> checking whether gcc accepts -g... (cached) yes
>> checking host system type... sparc-sun-solaris2.7
>> checking whether byte ordering is bigendian... yes
>> checking for sparc alignment... yes
>> checking how to run the C preprocessor... gcc -E
>> checking for strings.h... yes
>> checking for string.h... yes
>> checking for stdlib.h... yes
>> checking for unistd.h... yes
>> checking for sys/sockio.h... yes
>> checking for paths.h... no
>> checking for inet_ntoa in -lnsl... yes
>> checking for socket in -lsocket... yes
>> 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 floor in -lm... yes
>> checking for pcap_datalink in -lpcap... yes
>> ./configure: test: argument expected
>>
>> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
>>
>>
> - -- Martin Roesch - Founder/CTO Sourcefire Inc. - (410) 290-1616
> Sourcefire: Enterprise-class Intrusion detection built on Snort
> roesch at ...402... - http://www.sourcefire.com
> Snort: Open Source Network IDS - http://www.snort.org
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (Darwin)
>
> iD8DBQE+gSDkqj0FAQQ3KOARAmvOAJ0QZvOKACAJdeuI+5dxJ2R+QMPmcACdHHEO
> aOqXesFo2BLdRF/zjYWAwqk=
> =0Ytg
> -----END PGP SIGNATURE-----
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel


- --
http://cerberus.sourcefire.com/~jeff       (pgp key available)
"Great spirits have always encountered violent opposition from mediocre
minds."
- - Albert Einstein
    
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (OpenBSD)

iD8DBQE+gXUZEqr8+Gkj0/0RAh4VAJ9TM1Ybm1/vry5ARKJF79NAJgHyaQCeIg0d
NQ+Zmqx1Omlu5DCtPNhiC8o=
=xv4q
-----END PGP SIGNATURE-----





More information about the Snort-devel mailing list