Annotation of embedaddon/arping/INSTALL, revision 1.1.1.2
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
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
1.1.1.2 ! misho 36: it I want to hear about it. Email me at thomas@habets.se and attach
1.1 misho 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:
1.1.1.2 ! misho 42: Linux:
! 43: apt-get install libnet1-dev libpcap-dev
1.1 misho 44: ./configure
45:
1.1.1.2 ! misho 46: OpenBSD:
! 47: ./configure CPPFLAGS=-I/usr/local/include/libnet-1.1 \
! 48: LDFLAGS=-L/usr/local/lib
1.1 misho 49:
1.1.1.2 ! misho 50: FreeBSD:
! 51: pkg_add -r libnet115 # (or similar)
! 52: pkg_add -r libpcap # (or similar)
! 53: ./configure CPPFLAGS='-I/usr/local/include/libnet115' \
! 54: LDFLAGS='-L/usr/local/lib/libnet115'
! 55:
! 56: Solaris:
! 57: ./configure CPPFLAGS="-I/usr/local/include" \
! 58: LDFLAGS="-R/usr/local/lib -L/opt/csw/lib -R/opt/csw/lib"
! 59:
! 60: IRIX:
! 61: ./configure LDFLAGS="-L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>