Snort mailing list archives

OK, no problem: snort and libpcap and yacc and Debian...


From: Francesca Milanini <francesca.milanini () fastwebnet it>
Date: 11 Jul 2002 11:11:24 +0200

www.debian.org print "Bison a better Yacc", but...
I have changed my "sources.list" and used "apt-get update" 
(Debian Woody) and "apt-cache search libpcap"
and "apt-get install libpcap-dev", so the libraries of "libpcap-dev"
("dpkg -L libpcap-dev") allows to install Snort, without installing
"libpcap"
bye, Francesca

--- Begin Message --- From: Francesca Milanini <francesca.milanini () fastwebnet it>
Date: 11 Jul 2002 10:13:41 +0200
Hell! 
If I use "apt-get install snort" with Debian Woody, I install version
1.8.4-beta1-2
I just want to try Snort 1.8.7 with Woody, if it's possible.

I think to Snort without "apt-get install"
and with:
 
./configure
make
make install

BUT so I must install Libpcap, before and I don't find how I can do it.
I need the compiler "Yacc" but I don't find how I can install it in
Debian.
Do you know if
1) I can use Snort 1.8.7 with Debian
2) how I can install Yacc (or Bison??) in Debian
Perhaps it's only a problem fo configuration of etc/apt/sources.list
but...I don't thikk so...
--
francesca:~# apt-get install bison
Reading Package Lists... Done
Building Dependency Tree... Done
Package bison has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
E: Package bison has no installation candidate
---
francesca:~# apt-get install yacc
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package yacc
---
francesca:/libpcap-0.4# make
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1
-DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
 -c ./pcap-linux.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1
-DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
 -c ./pcap.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1
-DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
 -c ./inet.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1
-DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
 -c ./gencode.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1
-DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
 -c ./optimize.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1
-DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
 -c ./nametoaddr.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1
-DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
 -c ./etherent.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1
-DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
 -c ./savefile.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1
-DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
 -c ./bpf_filter.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1
-DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
 -c ./bpf_image.c
lex -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
/bin/sh: lex: command not found
yacc -d grammar.y
make: yacc: Command not found
make: *** [grammar.c] Error 127
---
Thanks, Francesca




--- End Message ---

Current thread: