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

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:08:51 UTC
etherape and other apps that rely on libpcap faile to compile because they
cannot locate header files, such as net/bpf.h

The fix is to add:

make install-incl

prior to the "einstall || die" command in src_install().

This doesn't fix etherape, but it does get the header files installed where they
belong, which wasn't happening otherwise.  This may or may not be a gcc 3.1
specific problem, but my experience was on a gcc 3.1 box.
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2002-07-15 02:27:08 UTC
hi. i just fixed etherape. what other applications building against libpcap
exhibit this problem?

thanks.
Matt
Comment 2 Bardur Arantsson 2002-08-31 08:20:05 UTC
FYI, ethereal (0.9.6) cannot detect net/bpf.h either. 
Comment 3 Philipp Morger 2002-09-26 09:01:22 UTC
as http://forums.gentoo.org/viewtopic.php?t=13551 has announced, there is a
issue with ethereal. And as of this hour I am unable to merge ethereal 0.9.6 - I
know, there are people out there who share the same fate.

As of this facts I recommend to rise the severity (if that helps) 

I emerge last weekend my whole system with gcc 3.2 - I had the problem before
(gcc 3.1) and have it now (gcc 3.2)

(I would fix the problem, but was not yet able to replay the trick with etherape
nor is my magic strong enough)
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2002-11-20 00:19:43 UTC
appears to be fixed now