File: INSTALL

package info (click to toggle)
prads 0.3.3-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,636 kB
  • sloc: ansic: 10,215; perl: 1,689; sql: 204; makefile: 152; sh: 144; python: 20
file content (51 lines) | stat: -rw-r--r-- 1,075 bytes parent folder | download | duplicates (2)
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
#### 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!