File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / iftop / INSTALL
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 16:57:34 2012 UTC (12 years, 4 months ago) by misho
Branches: iftop, MAIN
CVS tags: v0_17p0, v0_17, HEAD
iftop

Installation instructions for iftop
$Id: INSTALL,v 1.1.1.1 2012/02/21 16:57:34 misho Exp $


iftop is now autoconf/automake-enabled. You should be able to build it on
common platforms by typing `./configure && make'.

There is one gotcha, however, which is that some systems, such as FreeBSD,
lack a working implementation of the gethostbyaddr_r(3) C library function. On
such systems, you may want to use the --with-resolver=ares configure option to
build a version of iftop which uses the ARES asynchronous DNS library for name
resolution. An alternative is to use --with-resolver=netdb_1thread, which will
make iftop run only one name resolution thread. This is not recommended.

On some systems (notably Red Hat Linux) the libpcap header files are installed
under /usr/include/pcap; on these systems, you should manually specify this
when running configure, like this:

    $ CPPFLAGS=-I/usr/include/pcap ./configure


For historical interest, the old iftop makefile is included in Makefile.OLD.


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>