I spent quite a while trying to do something I thought would be simple...install Snort on Ubuntu 10.04. Here's what I did so far:
1. "cd /usr/src"
2. sudo wget http://www.snort.org/dl/snort-current/s ... 0.4.tar.gz -O snort-22.214.171.124.tar.gz
3. tar xzvf snort-126.96.36.199.tar.gz (this uncompressed and created a snort-188.8.131.52 folder.
4. installed libpcap0.8-dev & libpcre3-dev
5. cd snort-184.108.40.206
6. sudo ./configure
- this came back with:
ERROR! Libpcap library/headers (libpcap.a (or .so)/pcap.h)
not found, go get it from http://www.tcpdump.org
or use the --with-libpcap-* options, if you have it installed
in unusual place. Also check if your libpcap depends on another
shared library that may be installed in an unusual place
I thought I already have libpcap installed though? When I do a "apt-cache policy libpcap0.8-dev" it comes back with:
I see that I can't move onto the "make" or "make install" until I get this sorted out. When I try to type "make" or "make install" it comes back with:
No targets specified and no makefile found. Stop.