-
Notifications
You must be signed in to change notification settings - Fork 59
/
INSTALL
51 lines (34 loc) · 1.05 KB
/
INSTALL
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
#### PRADS INSTALL
# apt-get install prads
### or, from source
## dependencies
libpcap0.8 (>= 0.9.8), libpcre3 (>= 8.10), libresolv
# On an Ubuntu system:
$ sudo apt-get install rst2man libpcap0.8-dev libpcre3-dev
$ git clone git://github.com/gamelinux/prads.git
$ cd prads
$ make
$ sudo make install
# On a FreeBSD system (C version)
$ pkg_add -r pcre git gmake py26-docutils
$ git clone git://github.com/gamelinux/prads.git
$ cd prads
$ gmake
*Note: Installer doesn't work on FreeBSD, so manually copy, or symlink, the binary and config files.
### Compile-time options
remember to `make clean` first!
## Static install
$ make static
## Build with debug options
$ make debug
## Profiling prads
$ make profile
## use perftools faster malloc
$ make TCMALLOC=y
## Profile with perftools
$ make TCMALLOC=y PPROF=y debug
## the newest, fastest libpcap into prads
$ git clone git://bpf.tcpdump.org/libpcap
$ cd libpcap && ./configure --disable-dbus && make -j2 && cd ..
$ make PCAPDIR=libpcap
*Note* that prads will now always look for libpcap in that directory!