summaryrefslogtreecommitdiff
path: root/INSTALL
blob: 8e776f6d3300a1e2bb63c781716695c88cdadbb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
arping/INSTALL

This is the short version. For more info see the README.

Dependencies
------------
libnet 1.1.x
  www.packetfactory.net/libnet
    or
  http://ftp.debian.org/debian/pool/main/libn/libnet/libnet_1.1.2.1.orig.tar.gz
libpcap:
  www.tcpdump.org

For debian, just: apt-get install libpcap-dev libnet1-dev

Installing, short version
-------------------------
./configure
make              # the binary will be created as src/arping
make install

If your environment is not set up right (hello Solaris), you may need
to add stuff to the configure line, like:

  ./configure LDFLAGS="-L/usr/lib -L/opt/csw/lib -R/opt/csw/lib"

Installing, longer version
--------------------------
Note that arping 2.x requires libnet 1.1.x to work. It will NOT work with
libnet 1.0.x. Arping 1.x works with libnet 1.0.x, but it's not included in the
same package anymore.

Standard autotools:   ./configure && make && make install

The autotools build system is new with arping 2.09. If you have problems with
it I want to hear about it. Email me at thomas@habets.pp.se and attach
the config.log file. If it failed during 'make', give me all the output from
that.

Examples that I use on some systems:

Linux:
  ./configure

OpenBSD:
  ./configure LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include/libnet-1.1


Solaris:
  ./configure LDFLAGS="-R/usr/local/lib -L/opt/csw/lib -R/opt/csw/lib" \
              CPPFLAGS="-I/usr/local/include"

IRIX:
  ./configure  LDFLAGS="-L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib"