sudo port -d install dsniff DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/dsniff DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/dsniff DEBUG: Requested variant powerpc is not provided by port dsniff. DEBUG: Requested variant darwin is not provided by port dsniff. DEBUG: Requested variant macosx is not provided by port dsniff. DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libpcap DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libpcap DEBUG: Requested variant powerpc is not provided by port libpcap. DEBUG: Requested variant darwin is not provided by port libpcap. DEBUG: Requested variant macosx is not provided by port libpcap. DEBUG: Searching for dependency: libpcap DEBUG: Found Dependency: receipt exists for libpcap DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libnet DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libnet DEBUG: Requested variant powerpc is not provided by port libnet. DEBUG: Requested variant macosx is not provided by port libnet. DEBUG: Executing variant darwin provides darwin DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Searching for dependency: libnet DEBUG: Found Dependency: receipt exists for libnet DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libnids DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libnids DEBUG: Requested variant powerpc is not provided by port libnids. DEBUG: Requested variant darwin is not provided by port libnids. DEBUG: Requested variant macosx is not provided by port libnids. DEBUG: Searching for dependency: libnids DEBUG: Found Dependency: receipt exists for libnids DEBUG: Skipping completed org.macports.main (dsniff) DEBUG: Skipping completed org.macports.fetch (dsniff) DEBUG: Skipping completed org.macports.checksum (dsniff) DEBUG: Skipping completed org.macports.extract (dsniff) DEBUG: Skipping completed org.macports.patch (dsniff) DEBUG: Skipping completed org.macports.configure (dsniff) ---> Building dsniff with target all DEBUG: Executing org.macports.build (dsniff) DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dsniff/work/dsniff-2.3" && make all' gcc -O2 -DBIND_8_COMPAT -D_BSD_SOURCE -DHAVE_SOCKADDR_SA_LEN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/include -I./missing -c ./arpspoof.c ./arpspoof.c:20:20: error: libnet.h: No such file or directory ./arpspoof.c:25: warning: 'struct ether_addr' declared inside parameter list ./arpspoof.c:25: warning: its scope is only this definition or declaration, which is probably not what you want ./arpspoof.c:26: warning: 'struct ether_addr' declared inside parameter list ./arpspoof.c: In function 'usage': ./arpspoof.c:38: warning: incompatible implicit declaration of built-in function 'exit' ./arpspoof.c: In function 'arp_send': ./arpspoof.c:58: warning: pointer targets in assignment differ in signedness ./arpspoof.c:60: error: 'ETHERTYPE_ARP' undeclared (first use in this function) ./arpspoof.c:60: error: (Each undeclared identifier is reported only once ./arpspoof.c:60: error: for each function it appears in.) ./arpspoof.c:62: error: 'ARPHRD_ETHER' undeclared (first use in this function) ./arpspoof.c:62: error: 'ETHERTYPE_IP' undeclared (first use in this function) ./arpspoof.c:62: error: 'ETHER_ADDR_LEN' undeclared (first use in this function) ./arpspoof.c:64: error: 'ETH_H' undeclared (first use in this function) ./arpspoof.c:67: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c:69: error: 'ARPOP_REQUEST' undeclared (first use in this function) ./arpspoof.c:71: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c:77: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c:80: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c: In function 'arp_find': ./arpspoof.c:114: warning: passing argument 2 of 'arp_cache_lookup' from incompatible pointer type ./arpspoof.c:120: error: 'ARPOP_REQUEST' undeclared (first use in this function) ./arpspoof.c: In function 'cleanup': ./arpspoof.c:137: error: 'ARPOP_REPLY' undeclared (first use in this function) ./arpspoof.c:144: warning: incompatible implicit declaration of built-in function 'exit' ./arpspoof.c: In function 'main': ./arpspoof.c:159: error: 'optarg' undeclared (first use in this function) ./arpspoof.c:169: error: 'optind' undeclared (first use in this function) ./arpspoof.c:181: warning: assignment makes pointer from integer without a cast ./arpspoof.c:193: error: 'ARPOP_REPLY' undeclared (first use in this function) ./arpspoof.c:200: warning: incompatible implicit declaration of built-in function 'exit' make: *** [arpspoof.o] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dsniff/work/dsniff-2.3" && make all " returned error 2 Command output: ./arpspoof.c:26: warning: 'struct ether_addr' declared inside parameter list ./arpspoof.c: In function 'usage': ./arpspoof.c:38: warning: incompatible implicit declaration of built-in function 'exit' ./arpspoof.c: In function 'arp_send': ./arpspoof.c:58: warning: pointer targets in assignment differ in signedness ./arpspoof.c:60: error: 'ETHERTYPE_ARP' undeclared (first use in this function) ./arpspoof.c:60: error: (Each undeclared identifier is reported only once ./arpspoof.c:60: error: for each function it appears in.) ./arpspoof.c:62: error: 'ARPHRD_ETHER' undeclared (first use in this function) ./arpspoof.c:62: error: 'ETHERTYPE_IP' undeclared (first use in this function) ./arpspoof.c:62: error: 'ETHER_ADDR_LEN' undeclared (first use in this function) ./arpspoof.c:64: error: 'ETH_H' undeclared (first use in this function) ./arpspoof.c:67: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c:69: error: 'ARPOP_REQUEST' undeclared (first use in this function) ./arpspoof.c:71: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c:77: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c:80: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c: In function 'arp_find': ./arpspoof.c:114: warning: passing argument 2 of 'arp_cache_lookup' from incompatible pointer type ./arpspoof.c:120: error: 'ARPOP_REQUEST' undeclared (first use in this function) ./arpspoof.c: In function 'cleanup': ./arpspoof.c:137: error: 'ARPOP_REPLY' undeclared (first use in this function) ./arpspoof.c:144: warning: incompatible implicit declaration of built-in function 'exit' ./arpspoof.c: In function 'main': ./arpspoof.c:159: error: 'optarg' undeclared (first use in this function) ./arpspoof.c:169: error: 'optind' undeclared (first use in this function) ./arpspoof.c:181: warning: assignment makes pointer from integer without a cast ./arpspoof.c:193: error: 'ARPOP_REPLY' undeclared (first use in this function) ./arpspoof.c:200: warning: incompatible implicit declaration of built-in function 'exit' make: *** [arpspoof.o] Error 1 Warning: the following items did not execute (for dsniff): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.