Use the host compiler for build tool c-ify.
[darkstat-debian] / INSTALL
1 Installation instructions
2 -------------------------
3
4 $ ./configure
5 $ make
6 $ make install
7
8
9 Quickstart
10 ----------
11
12 $ darkstat -i eth0
13
14
15 Slightly slower start
16 ---------------------
17
18 $ man darkstat
19
20
21 Packaging
22 ---------
23
24 The install target respects DESTDIR.  If you are packaging darkstat or
25 installing into a chroot, you can:
26
27 $ make install DESTDIR=/chroot/whatever
28
29
30 Portability
31 -----------
32
33 I, the darkstat maintainer, mostly develop darkstat on Debian GNU/Linux, but
34 mostly run darkstat on FreeBSD.
35
36 darkstat usually builds out-of-the-box on FreeBSD, although you should probably
37 install it from ports.
38
39 In the past, darkstat has also been reported to work on:
40
41  - Solaris (with Sun C 5.8, and libpcap installed)
42  - Fedora Core (with libpcap-devel installed)
43  - OpenBSD
44  - NetBSD
45  - Mac OS X
46  - AIX
47  - Ubuntu (you need build-essential, zlib1g-dev, libpcap-dev)
48  - Mandrake
49  - OpenSUSE
50
51 Sadly, darkstat doesn't run on GNU/Hurd 0.3 because the BPF there doesn't
52 support non-blocking operation (FIONBIO).