Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3910 - etherape fails to properly detect bpf.h during configure
Summary: etherape fails to properly detect bpf.h during configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 3907
Blocks:
  Show dependency tree
 
Reported: 2002-06-19 16:32 UTC by Jean-Michel Smith
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Michel Smith 2002-06-19 16:32:08 UTC
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
Comment 1 Jean-Michel Smith 2002-06-19 16:33:52 UTC
#3907 - bpf.h isn't installed properly.

BUT, this behavior remains even when #3907 is patched such that bpf.h IS
installed properly.
Comment 2 Jean-Michel Smith 2002-06-20 16:00:44 UTC
I have successfully compiled etherape on a gcc 2.95 system.

This problem is definitely related to gcc 3.1 compilation in some fashion.
Comment 3 Bill Kenworthy 2002-07-14 20:42:28 UTC
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?
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2002-07-15 02:23:38 UTC
fixed in etherape-0.8.2-r1 but masked until tested under gcc2.x