[Snort-users] snort and libpcap and yacc and Debian: help me, please!

Francesca Milanini francesca.milanini at ...6264...
Thu Jul 11 01:15:03 EDT 2002


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








More information about the Snort-users mailing list