Do not try to compile sniffdet from the sniffdet-0.9 tarball, because the code is buggy (gcc doesn't tolerate some part of the code source, or just the gcc version I've got : 4.3.2).
Use the SVN version, code is much cleaner :
Code:
svn co http://svn.ademar.org/sniffdet/trunk/
You have to install autotools and libtool if you do not have them yet.
You also have to install libnet-1.0.X, not the 1.2.X versions, it's hard to find the tarball then try to get it from gentoo mirros, for instance :
Code:
wget http://ftp.free.fr/mirrors/ftp.gentoo.org/distfiles/libnet-1.0.2a.tar.gz
You've got to run :
in the trunk directory.
If it occurs strange errors like those :
Code:
./configure: line 13445: libnet-config-1.0: command not found
./configure: line 13446: libnet-config-1.0: command not found
./configure: line 13447: libnet-config-1.0: command not found
Do not run "make", you'll get strange stuff.
You've got to make a very dirty thing before ... create a link :
Code:
ln -s /usr/local/bin/libnet-config-1.0 /usr/local/bin/libnet-config
When you did it run make commands, it should works.
(actualy -lnet must appears at the end of the configure process output.)
Voilą
In fact it was easier than I thought ... no real need to explain how install it, except for the final trick