Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[Snort-devel] (no subject)

From: Neil Dickey <neil(at)geol.niu.edu>
Date: Tue Mar 25 2003 - 11:05:32 EST


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 ... )

Do you need help?X

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

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+



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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snort-devel Received on Wed Mar 26 08:58:12 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:08:04 EDT

Do you need more help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library