Installing NeTraMet ------------------- 1) If you want to use the Unix traffic meter you must install libpcap (available from ftp://ftp.ee.lbl.gov). 2) Set the LIBS environment variable to be -L/dir_path, where dir_path specifies the directory containing your local libraries (e.g. libpcap.) For example, if you are using csh as your shell, use setenv LIBS -L/usr/local/lib Note that the -L part of this command is particularly vital! 3) Make a directory for NeTraMet, e.g. ntm mkdir ntm cd ntm 4) Copy the distribution file (NeTraMetXX.tar.gz) into the ntm directory. 5) Unzip it: tar xzf NeTraMetXX.tar.gz # Linux or gzip -dc NeTraMetXX.tar.gz | tar -xf - 6) Move into the NeTraMetXX and run the configure script to build NeTraMet's make files: ./configure Note, should you want the neTraMet files installed into a directory oter than /usr/local/bin, you can do ./configure --prefix=/other/directory instead. If you are using csh you might use back quotes to make it easier to specify the filename, e.g. ./configure --prefix=`echo ~/other` For more information about options with configure type ./configure --help Notes: * If ./configure can't find libpcap it will leave NeTraMet out of the src/meter Makefile. NetFlowMet (which doesn't need libpcap) will still be in the Makefile. * If ./configure can't find the X-windows libraries it will leave nifty out of the src/manager Makefile. The other manager programs (NeMaC, nm_rc, nm_st, fd_util, fd_extract) will still be in the Makefile. * If ./configure can't find the Motif libraries it will leave nifty out of the src/manager Makefile (as above). nifty requires either Motif or lesstif. 7) Make NeTraMet make 8) Install the programs make install -------------------------------------