Emerging tcptraceroute-1.4-r3 fails # emerge --verbose tcptraceroute Calculating dependencies ...done! >>> emerge (1 of 1) net-analyzer/tcptraceroute-1.4-r3 to / >>> md5 src_uri ;-) tcptraceroute-1.4.tar.gz >>> Unpacking source... >>> Unpacking tcptraceroute-1.4.tar.gz to /var/tmp/portage/tcptraceroute-1.4-r3/work * Applying tcptraceroute-1.4-gentoo.patch... [ ok ] * Applying 1.4-libnet-1.0.patch... [ ok ]>>> Source unpacked. gcc -march=athlon-xp -O3 -pipe `libnet-1.0-config --defines` \ -o tcptraceroute tcptraceroute.c \ `libnet-1.0-config --libs` -lpcap /bin/sh: line 1: libnet-1.0-config: command not found /bin/sh: line 1: libnet-1.0-config: command not found tcptraceroute.c:201:24: libnet-1.0.h: No such file or directory tcptraceroute.c: In function `iptohost': tcptraceroute.c:596: warning: return makes pointer from integer without a cast tcptraceroute.c: In function `allocateid': tcptraceroute.c:885: `PRu16' undeclared (first use in this function) tcptraceroute.c:885: (Each undeclared identifier is reported only once tcptraceroute.c:885: for each function it appears in.) tcptraceroute.c: In function `debugoptions': tcptraceroute.c:1007: `LIBNET_IP_H' undeclared (first use in this function) tcptraceroute.c:1007: `LIBNET_TCP_H' undeclared (first use in this function) tcptraceroute.c:1007: `LIBNET_ICMP_H' undeclared (first use in this function) tcptraceroute.c: In function `defaults': tcptraceroute.c:1136: `LIBNET_TCP_H' undeclared (first use in this function) tcptraceroute.c:1136: `LIBNET_IP_H' undeclared (first use in this function) tcptraceroute.c: In function `initcapture': tcptraceroute.c:1182: `LIBNET_IP_H' undeclared (first use in this function) tcptraceroute.c:1182: `LIBNET_TCP_H' undeclared (first use in this function) tcptraceroute.c:1182: `LIBNET_ICMP_H' undeclared (first use in this function) tcptraceroute.c: In function `probe': tcptraceroute.c:1225: `LIBNET_IP_H' undeclared (first use in this function) tcptraceroute.c:1225: `LIBNET_TCP_H' undeclared (first use in this function) tcptraceroute.c:1275: `IP_DF' undeclared (first use in this function) tcptraceroute.c:1290: `TH_SYN' undeclared (first use in this function) tcptraceroute.c:1291: `TH_ACK' undeclared (first use in this function) tcptraceroute.c: In function `capture': tcptraceroute.c:1412: `LIBNET_IP_H' undeclared (first use in this function) tcptraceroute.c:1418: `LIBNET_TCP_H' undeclared (first use in this function) tcptraceroute.c:1418: `LIBNET_ICMP_H' undeclared (first use in this function) tcptraceroute.c:1426: dereferencing pointer to incomplete type tcptraceroute.c:1432: dereferencing pointer to incomplete type tcptraceroute.c:1438: dereferencing pointer to incomplete type tcptraceroute.c:1441: dereferencing pointer to incomplete type tcptraceroute.c:1451: dereferencing pointer to incomplete type tcptraceroute.c:1489: dereferencing pointer to incomplete type tcptraceroute.c:1495: dereferencing pointer to incomplete type tcptraceroute.c:1501: dereferencing pointer to incomplete type tcptraceroute.c:1504: dereferencing pointer to incomplete type tcptraceroute.c:1508: dereferencing pointer to incomplete type tcptraceroute.c:1511: dereferencing pointer to incomplete type tcptraceroute.c:1516: dereferencing pointer to incomplete type tcptraceroute.c:1523: dereferencing pointer to incomplete type tcptraceroute.c:1530: dereferencing pointer to incomplete type tcptraceroute.c:1531: dereferencing pointer to incomplete type tcptraceroute.c:1537: dereferencing pointer to incomplete type tcptraceroute.c:1537: `ICMP_UNREACH' undeclared (first use in this function) tcptraceroute.c:1541: dereferencing pointer to incomplete type tcptraceroute.c:1543: `ICMP_UNREACH_NET' undeclared (first use in this function) tcptraceroute.c:1546: `ICMP_UNREACH_HOST' undeclared (first use in this function) tcptraceroute.c:1549: `ICMP_UNREACH_PROTOCOL' undeclared (first use in this function) tcptraceroute.c:1552: `ICMP_UNREACH_PORT' undeclared (first use in this function) tcptraceroute.c:1555: `ICMP_UNREACH_NEEDFRAG' undeclared (first use in this function) tcptraceroute.c:1558: `ICMP_UNREACH_SRCFAIL' undeclared (first use in this function) tcptraceroute.c:1561: `ICMP_UNREACH_NET_PROHIB' undeclared (first use in this function) tcptraceroute.c:1562: `ICMP_UNREACH_FILTER_PROHIB' undeclared (first use in this function)tcptraceroute.c:1565: `ICMP_UNREACH_HOST_PROHIB' undeclared (first use in this function) tcptraceroute.c:1568: `ICMP_UNREACH_NET_UNKNOWN' undeclared (first use in this function) tcptraceroute.c:1569: `ICMP_UNREACH_HOST_UNKNOWN' undeclared (first use in this function) tcptraceroute.c:1572: `ICMP_UNREACH_ISOLATED' undeclared (first use in this function) tcptraceroute.c:1575: `ICMP_UNREACH_TOSNET' undeclared (first use in this function) tcptraceroute.c:1576: `ICMP_UNREACH_TOSHOST' undeclared (first use in this function) tcptraceroute.c:1579: `ICMP_UNREACH_HOST_PRECEDENCE' undeclared (first use in this function) tcptraceroute.c:1580: `ICMP_UNREACH_PRECEDENCE_CUTOFF' undeclared (first use in this function) tcptraceroute.c:1582: dereferencing pointer to incomplete type tcptraceroute.c:1586: dereferencing pointer to incomplete type tcptraceroute.c:1591: dereferencing pointer to incomplete type tcptraceroute.c:1591: `ICMP_TIMXCEED' undeclared (first use in this function) tcptraceroute.c:1594: dereferencing pointer to incomplete type tcptraceroute.c:1599: dereferencing pointer to incomplete type tcptraceroute.c:1600: dereferencing pointer to incomplete type tcptraceroute.c:1603: dereferencing pointer to incomplete type tcptraceroute.c:1611: dereferencing pointer to incomplete type tcptraceroute.c:1615: dereferencing pointer to incomplete type tcptraceroute.c:1618: dereferencing pointer to incomplete type tcptraceroute.c:1631: dereferencing pointer to incomplete type tcptraceroute.c:1631: dereferencing pointer to incomplete type tcptraceroute.c:1632: dereferencing pointer to incomplete type tcptraceroute.c:1632: dereferencing pointer to incomplete type tcptraceroute.c:1633: dereferencing pointer to incomplete type tcptraceroute.c:1633: `TH_RST' undeclared (first use in this function) tcptraceroute.c:1634: dereferencing pointer to incomplete type tcptraceroute.c:1634: `TH_SYN' undeclared (first use in this function) tcptraceroute.c:1635: dereferencing pointer to incomplete type tcptraceroute.c:1635: `TH_ACK' undeclared (first use in this function) tcptraceroute.c:1636: dereferencing pointer to incomplete type tcptraceroute.c:1636: `TH_PUSH' undeclared (first use in this function) tcptraceroute.c:1637: dereferencing pointer to incomplete type tcptraceroute.c:1637: `TH_FIN' undeclared (first use in this function) tcptraceroute.c:1638: dereferencing pointer to incomplete type tcptraceroute.c:1638: `TH_URG' undeclared (first use in this function) tcptraceroute.c:1639: dereferencing pointer to incomplete type tcptraceroute.c:1640: dereferencing pointer to incomplete type tcptraceroute.c:1641: dereferencing pointer to incomplete type tcptraceroute.c:1643: dereferencing pointer to incomplete type tcptraceroute.c:1644: dereferencing pointer to incomplete type tcptraceroute.c:1650: dereferencing pointer to incomplete type tcptraceroute.c:1653: dereferencing pointer to incomplete type tcptraceroute.c:1654: dereferencing pointer to incomplete type tcptraceroute.c:1655: dereferencing pointer to incomplete type tcptraceroute.c:1658: dereferencing pointer to incomplete type tcptraceroute.c:1659: dereferencing pointer to incomplete type tcptraceroute.c:1664: dereferencing pointer to incomplete type tcptraceroute.c:1665: dereferencing pointer to incomplete type tcptraceroute.c:1666: dereferencing pointer to incomplete type tcptraceroute.c:1667: dereferencing pointer to incomplete type tcptraceroute.c:1668: dereferencing pointer to incomplete type tcptraceroute.c:1669: dereferencing pointer to incomplete type tcptraceroute.c:1670: dereferencing pointer to incomplete type tcptraceroute.c:1671: dereferencing pointer to incomplete type tcptraceroute.c:1672: dereferencing pointer to incomplete type tcptraceroute.c:1675: dereferencing pointer to incomplete type tcptraceroute.c: In function `trace': tcptraceroute.c:1693: `LIBNET_TCP_H' undeclared (first use in this function) tcptraceroute.c:1693: `LIBNET_IP_H' undeclared (first use in this function) make: *** [tcptraceroute] Error 1 !!! ERROR: net-analyzer/tcptraceroute-1.4-r3 failed. !!! Function src_compile, Line 27, Exitcode 2 !!! (no error message) # emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 apm avi crypt cups encode foomaticdb gif gtk2 jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline svga java guile X sdl gpm tcpd libwww ssl python esd imlib oggvorbis qt motif opengl aalib acpi alsa -arts cdr doc emacs gtk ipv6 -kde -gnome leim mbox maildir mozilla -oss -pam perl tcltk tetex"
It seems that "net-libs/libnet" is not installed on your system. The dependencies in the tcptraceroute ebuild look correct. Could you test the following? 1. emerge libnet (this should result in "net-libs/libnet-1.0.2a-r3" being installed) 2. emerge tcptraceroute If that works we need to check the DEPEND-stuff in tcptraceroute.
libnet is already installed. # emerge --pretend libnet These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] net-libs/libnet-1.1.0-r3
strange -- I have tcptraceroute installed on several machines without trouble -- at least 2 of them have _exactly_ the same version of tcptraceroute. I have 3 versions of libnet installed (none of it is "cleanable"): # epm -q libnet libnet-1.0.2a-r1 libnet-1.0.2a-r3 libnet-1.1.0-r3 It seems that there was a name-change: # epm -qf /usr/bin/libnet-1.0-config libnet-1.0.2a-r3 Could you try to create the following symlink: ln -s /usr/bin/libnet-config /usr/bin/libnet-1.0-config and try again?
tcptraceroute needs net-libs/libnet-1.0.2a-r3 emerge that and then try again *** This bug has been marked as a duplicate of 27218 ***