Quick fix for compiling tcpdstat on Mac OSX (Leopard, although probably works for Tiger too). If you get this error: cc -I. -I../libpcap-0.7.1 -DLINUX -D__FAVOR_BSD -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -L../libpcap-0.7.1 -c stat.c cc -I. -I../libpcap-0.7.1 -DLINUX -D__FAVOR_BSD -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -L../libpcap-0.7.1 -c net_read.c net_read.c:74:1: warning: “__FAVOR_BSD” redefined <command line>:1:1: warning: this is the location of the previous definition […]
UPDATE 2: njstaticuser mentioned he would like to know where to get this file below: I believe the file should be in /opt/local/var/macports/build/ – there should be a folder called _opt_local_var_macports_sources_rsync.macports.org_release_ports_<ettercap-ng> where <ettercap-ng> will be something like “net_ettercap-ng” (I don’t know the exact name because it has been cleaned from that directory). Under this directory […]
If you run into the following error trying to bootstrap fink (I was using version 0.27.8) on Leopard: ./Command/failure………………….ok 1/0 ./Command/failure………………….NOK 24/0# Failed test at ./Command/failure.t line 85. # ” # != # ‘0’ ./Command/failure………………….ok 41/0# Looks like you failed 1 test of 49. ./Command/failure………………….dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test […]