Annotation of embedaddon/trafshow/INSTALL, revision 1.1.1.1
1.1 misho 1:
2: How to install trafshow.
3:
4:
5: 1. First, make sure the libpcap already installed into your system.
6: See the README file in this directory for the minimum required version
7: of libpcap and it distribution. Follow the INSTALL file of pcap library
8: to build and install it.
9:
10: 2. Next, make sure you have already installed the curses library.
11: The most systems has the ncurses as default curses library. Currently
12: trafshow may be compiled with any curses library, configure script will
13: detect the prefered curses that supports colors.
14:
15: 3. Now, decide whether you want to place trafshow and man page.
16: The configure script option `--prefix' changes the root directory for
17: installing trafshow (/usr/local by default). Use `--prefix=/usr' to
18: replace your default trafshow distribution or just edit the BINDEST
19: and MANDEST paths in Makefile.in.
20:
21: 4. Type `./configure' to determine your system attributes and libraries
22: to generate an appropriate Makefile from Makefile.in and config.h from
23: config.h.in.
24: Some systems require unusual options for compilation of linking that
25: the configure script does not know about. You can give `configure'
26: initial values for variables by setting them in the environment. Using
27: a Bourne-compatible shell, you can do that on the command line like
28: this:
29: CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
30:
31: 5. Type `make' to build the trafshow program.
32: Ignore any warnings, no error messages should be produced.
33: If you system is not listed in the README as one which we have tested,
34: you may have to modify the configure script, Makefile.in and probably
35: config.h.in. Please send us patches for any modifications you need to
36: make.
37:
38: 6. Login as root and type `make install'.
39: This should install trafshow and man page into your system.
40: It also copy example file of color configuration in /etc/trafshow, it
41: not replaced if already there.
42: By default, trafshow is installed with no any set-uid permission. So
43: you would decide who must have access to the packet capture devices.
44:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>