]> gitweb.fperrin.net Git - iftop.git/blob - INSTALL
880e2f44fa5ac3fbce99399aa50ed541d73f072e
[iftop.git] / INSTALL
1 Installation instructions for iftop
2 $Id: INSTALL,v 1.3 2002/11/04 12:54:16 chris Exp $
3
4
5 iftop is now autoconf/automake-enabled. You should be able to build it on
6 common platforms by typing `./configure && make'.
7
8 There is one gotcha, however, which is that some systems, such as FreeBSD,
9 lack a working implementation of the gethostbyaddr_r(3) C library function. On
10 such systems, you may want to use the --with-resolver=ares configure option to
11 build a version of iftop which uses the ARES asynchronous DNS library for name
12 resolution. An alternative is to use --with-resolver=netdb_1thread, which will
13 make iftop run only one name resolution thread. This is not recommended.
14
15 On some systems (notably Red Hat Linux) the libpcap header files are installed
16 under /usr/include/pcap; on these systems, you should manually specify this
17 when running configure, like this:
18
19     $ CPPFLAGS=-I/usr/include/pcap ./configure
20
21
22 For historical interest, the old iftop makefile is included in Makefile.OLD.
23