etherape fails to detect net/bpf.h during configure, even when the file has been explicitly installed by libpcap's ebuild. It fails with the following message: checking for extraneous pcap header directories... found -- -I/usr/include added to CFLAGS checking for net/bpf.h... no configure: error: Header file net/bpf.h not found; if you installed libpcap from source, did you also do "make install-incl"? !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 28, Exitcode 1 !!! (no error message) !!! emerge aborting on /usr/portage/net-analyzer/etherape/etherape-0.8.2.ebuild . This error occurred on a gcc 3.1 system, the problem may or may not be related to gcc 3.1
#3907 - bpf.h isn't installed properly. BUT, this behavior remains even when #3907 is patched such that bpf.h IS installed properly.
I have successfully compiled etherape on a gcc 2.95 system. This problem is definitely related to gcc 3.1 compilation in some fashion.
This looks like it has been around for about a month. With gentoo-1.3 soon to be released, this needs fixing. I am currently running 1.3b and cannot use etherape (same error as this bug) to monitor/faultfind the network - is there a manual workaround for the interim?
fixed in etherape-0.8.2-r1 but masked until tested under gcc2.x