Annotation of embedaddon/arping/INSTALL, revision 1.1.1.3

1.1       misho       1: arping/INSTALL
                      2: 
                      3: This is the short version. For more info see the README.
                      4: 
                      5: Dependencies
                      6: ------------
                      7: libnet 1.1.x
1.1.1.3 ! misho       8:   https://github.com/sam-github/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: -------------------------
                     21: ./configure
                     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.x to work. It will NOT work with
                     33: libnet 1.0.x. Arping 1.x works with libnet 1.0.x, but it's not included in the
                     34: 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
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>