File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / arping / INSTALL
Revision 1.1.1.4 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Mar 16 23:40:57 2021 UTC (3 years, 2 months ago) by misho
Branches: arping, MAIN
CVS tags: v2_21, HEAD
arping 2.21

    1: arping/INSTALL
    2: 
    3: This is the short version. For more info see the README.
    4: 
    5: Dependencies
    6: ------------
    7: libnet 1.1 or newer
    8:   https://github.com/libnet/libnet
    9:     or
   10:   http://ftp.debian.org/debian/pool/main/libn/libnet/libnet_1.1.2.1.orig.tar.gz
   11:   Note: Libnet 1.1.5 or later needed for Linux capability support.
   12: libpcap:
   13:   www.tcpdump.org
   14: optional: libcap
   15:   Adds support to drop Linux privileges.
   16: 
   17: For debian, just: apt-get install libpcap-dev libnet1-dev libcap-dev
   18: 
   19: Installing, short version
   20: -------------------------
   21: ./configure       # if "configure" doesn't exist, run "./bootstrap.sh"
   22: make              # the binary will be created as src/arping
   23: make install
   24: 
   25: If your environment is not set up right (hello Solaris), you may need
   26: to add stuff to the configure line, like:
   27: 
   28:   ./configure LDFLAGS="-L/usr/lib -L/opt/csw/lib -R/opt/csw/lib"
   29: 
   30: Installing, longer version
   31: --------------------------
   32: Note that arping 2.x requires libnet 1.1 or newer to work. It will NOT
   33: work with libnet 1.0.x. Arping 1.x works with libnet 1.0.x, but it's
   34: not included in the same package anymore.
   35: 
   36: Standard autotools:   ./configure && make && make install
   37: 
   38: The autotools build system is new with arping 2.09. If you have problems with
   39: it I want to hear about it. Email me at thomas@habets.se and attach
   40: the config.log file. If it failed during 'make', give me all the output from
   41: that.
   42: 
   43: Examples that I use on some systems:
   44: 
   45: Linux:
   46:   apt-get install libnet1-dev libpcap-dev
   47:   ./configure
   48: 
   49: OpenBSD:
   50:   ./configure CPPFLAGS=-I/usr/local/include/libnet-1.1 \
   51:               LDFLAGS=-L/usr/local/lib
   52: 
   53: FreeBSD:
   54:   pkg_add -r libnet115  # (or similar)
   55:   pkg_add -r libpcap    # (or similar)
   56:   ./configure CPPFLAGS='-I/usr/local/include/libnet115' \
   57:               LDFLAGS='-L/usr/local/lib/libnet115'
   58: 
   59: Solaris:
   60:   ./configure CPPFLAGS="-I/usr/local/include" \
   61:               LDFLAGS="-R/usr/local/lib -L/opt/csw/lib -R/opt/csw/lib"
   62: 
   63: IRIX:
   64:   ./configure  LDFLAGS="-L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib"

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