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
net_read.c:149: error: static declaration [...]
Entries Tagged as ‘leopard’
November 29, 2007
Compiling tcpdstat on Mac OSX (quick fix)
November 15, 2007
Compile Ettercap-NG-0.7.3 natively on Leopard Fix
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 there [...]
November 13, 2007
Fix for being unable to bootstrap fink on Leopard
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 [...]
