Annotation of embedaddon/arping/INSTALL, revision 1.1.1.4

1.1       misho       1: arping/INSTALL
                      2: 
                      3: This is the short version. For more info see the README.
                      4: 
                      5: Dependencies
                      6: ------------
1.1.1.4 ! misho       7: libnet 1.1 or newer
        !             8:   https://github.com/libnet/libnet
1.1       misho       9:     or
                     10:   http://ftp.debian.org/debian/pool/main/libn/libnet/libnet_1.1.2.1.orig.tar.gz
1.1.1.3   misho      11:   Note: Libnet 1.1.5 or later needed for Linux capability support.
1.1       misho      12: libpcap:
                     13:   www.tcpdump.org
1.1.1.3   misho      14: optional: libcap
                     15:   Adds support to drop Linux privileges.
1.1       misho      16: 
1.1.1.3   misho      17: For debian, just: apt-get install libpcap-dev libnet1-dev libcap-dev
1.1       misho      18: 
                     19: Installing, short version
                     20: -------------------------
1.1.1.4 ! misho      21: ./configure       # if "configure" doesn't exist, run "./bootstrap.sh"
1.1       misho      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: --------------------------
1.1.1.4 ! misho      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.
1.1       misho      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
1.1.1.2   misho      39: it I want to hear about it. Email me at thomas@habets.se and attach
1.1       misho      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: 
1.1.1.2   misho      45: Linux:
                     46:   apt-get install libnet1-dev libpcap-dev
1.1       misho      47:   ./configure
                     48: 
1.1.1.2   misho      49: OpenBSD:
                     50:   ./configure CPPFLAGS=-I/usr/local/include/libnet-1.1 \
                     51:               LDFLAGS=-L/usr/local/lib
1.1       misho      52: 
1.1.1.2   misho      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>