Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63888 - tcpslice fails to emerge
Summary: tcpslice fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-13 07:23 UTC by Sebastian Flothow
Modified: 2004-09-13 10:22 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 Sebastian Flothow 2004-09-13 07:23:10 UTC
tcpslice fails to emerge because the include net/bpf.h can't be found.

Reproducible: Always
Steps to Reproduce:
1. emerge tcpslice
Actual Results:  
Compiling failed with this output:

tcpslice.c:38:21: net/bpf.h: No such file or directory
make: *** [tcpslice.o] Error 1

Expected Results:  
Compiler properly

Since I found that I have a /usr/include/nessus/net/bpf.h, I ran
CFLAGS="-I/usr/include/nessus" emerge tcpslice
and it worked. However, this obviously depends on nessus-libraries being installed, and doesn't seem 
very clean to me.


Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.4.26-gentoo-r9)
===============================================================
==
System uname: 2.4.26-gentoo-r9 i686 Celeron (Mendocino)
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config 
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config 
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/
config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control /
var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-
clausthal.de/pub/linux/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://
gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts async avi berkdb bitmap-fonts bonobo caps cdr crypt cups curl 
dga doc encode esd fbcon foomaticdb gd gd-external gdbm ggi gif gnome gpm gstreamer gtk gtk2 
gtkhtml guile hbci idea imlib innodb jabber jack java jikes jpeg kde libg++ libwww mad maildir 
memlimit mikmod mmx motif mozcalendar mozilla moznocompose moznoirc moznomail mozsvg 
mpeg mysql nas ncurses nls ofx oggvorbis opengl operanom2 oss pam pdflib perl png python qt 
quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb wmf x86 
xml2 xmms xprint xv zlib"
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-09-13 10:22:27 UTC
Fixed in portage :). It builds and runs correctly using libpcap's bpf header, it just wasn't finding it in the correct place.