[Iftop-users] iftop on OS X

Philipp Riegger lists at anderedomain.de
Sat, 24 Dec 2005 11:56:48 +0100


Hi there.

I just wanted to use iftop on OS X. First i tried to install it using  
NetBSDs pkgsrc, that did not work:

<quote>
root@shia iftop # bmake
===> Checking for vulnerabilities in iftop-0.16nb1
===> Building for iftop-0.16nb1
/usr/pkg/bin/bmake  all-recursive
Making all in config
source='resolver.c' object='resolver.o' libtool=no  depfile='.deps/ 
resolver.Po' tmpdepfile='.deps/resolver.TPo'  depmode=gcc3 /bin/sh ./ 
config/depcomp  gcc -pipe -DHAVE_CONFIG_H -I. -I. -I.    -no-cpp- 
precomp -I/usr/include  -O2 -I/usr/include -c `test -f 'resolver.c'  
|| echo './'`resolver.c
resolver.c: In function 'do_resolve':
resolver.c:327: warning: incompatible implicit declaration of built- 
in function '_exit'
resolver.c:344: error: too few arguments to function 'wait'
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/iftop/work/iftop-0.16
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/iftop/work/iftop-0.16
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/iftop/work/iftop-0.16
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/iftop
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/net/iftop/work/.work.log
===>
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/iftop
</quote>

Next i tried to install it manually, using

<quote>
  cvs -d :pserver:anonymous@sphinx.mythic-beasts.com:/home/pdw/vcvs/ 
repos login
  cvs -d :pserver:anonymous@sphinx.mythic-beasts.com:/home/pdw/vcvs/ 
repos co iftop
</quote>

but there was no configure, so i did not know what to do. Can you  
give me a hint?

Philipp