emerge -v lft Calculating dependencies ...done! >>> emerge (1 of 1) net-analyzer/lft-2.31 to / >>> md5 src_uri ;-) lft-2.31.tar.gz >>> Unpacking source... >>> Unpacking lft-2.31.tar.gz to /var/tmp/portage/lft-2.31/work >>> Source unpacked. * econf: updating lft-2.31/config.guess with /usr/share/gnuconfig/config.guess * econf: updating lft-2.31/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=powerpc-apple-darwin --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... powerpc-apple-darwin7.8.0 checking host system type... powerpc-apple-darwin checking for powerpc-apple-darwin-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking whether ln -s works... yes checking whether make sets ${MAKE}... yes checking for a BSD-compatible install... /usr/bin/install -c checking for gethostbyname in -lnsl... no checking for connect in -lsocket... no checking for inet_aton in -lresolv... yes checking for sin in -lm... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for working alloca.h... yes checking for alloca... yes checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for gethostbyname in -lnsl... (cached) no checking for connect in -lsocket... (cached) no checking for pcap_lookupdev in -lpcap... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating acconfig.h gcc -O2 -pipe -c -o lft.o lft.c gcc -O2 -pipe -c -o lft_ifname.o lft_ifname.c gcc -O2 -pipe -c -o whois.o whois.c lft.c:85:22: pcap-int.h: No such file or directory In file included from lft.c:103: lft_queue.h:200:1: warning: "STAILQ_LAST" redefined In file included from /usr/include/net/if_var.h:117, from /usr/include/net/if.h:94, from lft.c:64: /usr/include/sys/queue.h:213:1: warning: this is the location of the previous definition In file included from lft.c:103: lft_queue.h:343:1: warning: "TAILQ_FOREACH_REVERSE" redefined In file included from /usr/include/net/if_var.h:117, from /usr/include/net/if.h:94, from lft.c:64: /usr/include/sys/queue.h:350:1: warning: this is the location of the previous definition lft.c: In function `main': lft.c:1362: error: dereferencing pointer to incomplete type make: *** [lft.o] Error 1 !!! ERROR: net-analyzer/lft-2.31 failed. !!! Function src_compile, Line 556, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge info !!! Relying on the shell to locate gcc, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.51.19 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.8.0 Power Macintosh) ================================================================= System uname: 7.8.0 Power Macintosh powerpc macos-20041118 Python: [2.3 (#1, Sep 13 2003, 00:49:11)] distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X Xaw3d bash-completion berkdb cdr cups emboss gdbm gif imlib2 ipv6 java javascript jpeg latex lesstif libwww motif ncurses neXt nls oggvorbis opengl png ppc-macos qt readline ruby speex sqlite ssl tetex tiff unicode xface xinerama zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
it's in prefix.