Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12459 - kismet ebuild needs dependency on libpcap
Summary: kismet ebuild needs dependency on libpcap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jared H. Hudson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-19 18:06 UTC by Nate Lynch
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 Nate Lynch 2002-12-19 18:06:53 UTC
When attempting to merge the kismet-2.6.2 ebuild, I encounter the following
error during the configure step:

<snip>
checking net/bpf.h usability... no
checking net/bpf.h presence... no
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: net-wireless/kismet-2.6.2 failed.
!!! Function econf, Line 11, Exitcode 1
!!! econf failed

</snip>

I emerged libpcap 0.7.1, and kismet builds fine.  I think libpcap needs to
be added to the DEPEND in the ebuild (it was there in the older ebuild).  I
bumped the minimum version of libpcap up to 0.7.1-r1, since there was some prism
support added in that level.

Here's the patch.

*** kismet-2.6.2.ebuild~        Mon Dec 16 13:32:11 2002
--- kismet-2.6.2.ebuild Thu Dec 19 17:47:50 2002
***************
*** 9,15 ****
  SLOT="0"
  KEYWORDS="~x86 ~sparc ~sparc64 ~ppc"
  IUSE="acpi ipv6 gps"
! DEPEND="gps? ( >=dev-libs/expat-1.95.4 media-gfx/imagemagick )"
  S="${WORKDIR}/${P}"
  
  src_compile() {
--- 9,16 ----
  SLOT="0"
  KEYWORDS="~x86 ~sparc ~sparc64 ~ppc"
  IUSE="acpi ipv6 gps"
! DEPEND="gps? ( >=dev-libs/expat-1.95.4 media-gfx/imagemagick )
!         >=net-libs/libpcap-0.7.1-r1"
  S="${WORKDIR}/${P}"
  
  src_compile() {
Comment 1 Jared H. Hudson (RETIRED) gentoo-dev 2002-12-20 15:07:52 UTC
Update to kismet-2.6.2-r1