"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "trafshow-3.1/INSTALL" of archive trafshow-3.1.tgz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 			How to install trafshow.
    2 
    3 
    4 1.  First, build and install libpcap.
    5     See the README file in this directory for the ftp location. Follow
    6     the INSTALL file of pcap library to build and install it. The libpcap
    7     must be installed in suitable directory. Make sure you have installed
    8     pcap.h and net/bpf.h include files of this package.
    9     Alternatively, the libpcap.a my be placed in ../libpcap directory.
   10 
   11 2.  Next, make sure you have already installed the curses library.
   12     Currently trafshow may be compiled with any curses library. But the
   13     suggested library is Slang Curses because it supports colors built-in
   14     and works right throught termcap and terminfo data bases.
   15     See the README file in this directory for the curses notes and ftp
   16     location.
   17 
   18 3.  Now, decide whether you want to place trafshow and man page.
   19     The configure script option `--prefix' changes the root directory for
   20     installing trafshow (/usr/local by default). Use `--prefix=/usr' to
   21     replace your default trafshow distribution or just edit the BINDEST
   22     and MANDEST paths in Makefile.in.
   23 
   24 4.  Type `./configure' to determine your system attributes and libraries
   25     to generate an appropriate Makefile from Makefile.in and config.h from
   26     config.h.in.
   27     Some systems require unusual options for compilation of linking that
   28     the configure script does not know about. You can give `configure'
   29     initial values for variables by setting them in the environment. Using
   30     a Bourne-compatible shell, you can do that on the command line like
   31     this:
   32          CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
   33 
   34 5.  Type `make' to build the trafshow program.
   35     Ignore any warnings, no error messages should be produced.
   36     If you system is not listed in the README as one which we have tested,
   37     you may have to modify the configure script, Makefile.in and probably
   38     config.h.in. Please send us patches for any modifications you need to
   39     make.
   40 
   41 6.  Login as root and type `make install'.
   42     This should install trafshow and man page into your system.
   43     It also copy example file of color configuration in /etc/trafshow.
   44     By default, trafshow is installed with group execute permission. The
   45     group used depends on your operating system.