File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / arping / INSTALL
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 22:16:27 2012 UTC (12 years, 4 months ago) by misho
CVS tags: MAIN, HEAD
Initial revision

    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
    8:   www.packetfactory.net/libnet
    9:     or
   10:   http://ftp.debian.org/debian/pool/main/libn/libnet/libnet_1.1.2.1.orig.tar.gz
   11: libpcap:
   12:   www.tcpdump.org
   13: 
   14: For debian, just: apt-get install libpcap-dev libnet1-dev
   15: 
   16: Installing, short version
   17: -------------------------
   18: ./configure
   19: make              # the binary will be created as src/arping
   20: make install
   21: 
   22: If your environment is not set up right (hello Solaris), you may need
   23: to add stuff to the configure line, like:
   24: 
   25:   ./configure LDFLAGS="-L/usr/lib -L/opt/csw/lib -R/opt/csw/lib"
   26: 
   27: Installing, longer version
   28: --------------------------
   29: Note that arping 2.x requires libnet 1.1.x to work. It will NOT work with
   30: libnet 1.0.x. Arping 1.x works with libnet 1.0.x, but it's not included in the
   31: same package anymore.
   32: 
   33: Standard autotools:   ./configure && make && make install
   34: 
   35: The autotools build system is new with arping 2.09. If you have problems with
   36: it I want to hear about it. Email me at thomas@habets.pp.se and attach
   37: the config.log file. If it failed during 'make', give me all the output from
   38: that.
   39: 
   40: Examples that I use on some systems:
   41: 
   42: Linux, OpenBSD, FreeBSD:
   43:   ./configure
   44: 
   45: Solaris
   46:   ./configure LDFLAGS="-R/usr/local/lib -L/opt/csw/lib -R/opt/csw/lib" \
   47:               CPPFLAGS="-I/usr/local/include"
   48: 
   49: IRIX (FIXME: double-check this):
   50:   ./configure  LDFLAGS="-L/usr/local/lib -R/usr/local/lib"

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