[Snort-devel] problems compiling

Smith, Donald Donald.Smith at ...530...
Fri Sep 21 06:56:03 EDT 2001


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

These are part of libpcap. You have to install that first.

The files your "missing" should be in /usr/include/pcap per this 
make command. ./configure should have made this INCLUDE definition
for you.
Look there for the missing files. If they are not there but you have
libpcap on your system 
create the directories /usr/include/pcap and /usr/include/pcap/net
cp the .h files into the correct directories and try again;-)
good luck.


Donald.Smith at ...530... IP Engineering Security
303-226-9939/0688 Office/Fax
720-320-1537 cell

> -----Original Message-----
> From: Lukasz Gogolewski [mailto:lucas at ...830...]
> Sent: Friday, September 21, 2001 6:58 AM
> To: snort-devel at lists.sourceforge.net
> Subject: [Snort-devel] problems compiling
> 
> 
> Hello there,
> 
> System summary:
> Linux 6.2 with kernel 2.4.5
> egcs-2.91.66
> GNU Make version 3.78.1
> libpcap-0.4
> 
> While attempting to compile snort I got the following errors:
> 
> checking for a BSD compatible install... /usr/bin/install -c
> creating ./config.status
> cd . \
>   && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
> creating Makefile
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  
> -I/usr/local/include/mysql -DENABLE_MYSQL  -g -O2 -Wall -c snort.c
> In file included from snort.c:45:
> snort.h:31: pcap.h: No such file or directory
> snort.h:32: net/bpf.h: No such file or directory
> In file included from snort.c:45:
> snort.h:69: pcap-namedb.h: No such file or directory
> In file included from snort.h:194,
>                  from snort.c:45:
> decode.h:30: pcap.h: No such file or directory
> In file included from snort.h:194,
>                  from snort.c:45:
> decode.h:48: pcap-namedb.h: No such file or directory
> make: *** [snort.o] Error 1
> 
> Does anyone know what am I missing or do I need to upgrade
> anything?  
> 
> Thanks for assistance,
> 
> Lucas
> 
> -- 
> Lukasz Gogolewski - lucas at ...830...
> Tel: 718.894.7858 - Fax: 718.504.4822
> SupremeDesigns    - www.supremedesigns.com
> 
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel
> 

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8

iQA/AwUBO6tHJUPxB2evAO3MEQJx3QCgjOyS7JcQ6yXqDdMLcqHZ2XeqNYQAoPRg
eLxk4CLt05JW2OKMEfJaEkS0
=RXWQ
-----END PGP SIGNATURE-----




More information about the Snort-devel mailing list