summaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: ba6f7a38a0f49c04227f4233b0ccf8b53213b06e (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
55
56
57
58
59
60
61
Installation instructions for nftables
======================================

 Prerequisites
 =============

  - standard glibc headers, gcc etc.

  - libmnl: git://git.netfilter.org/libmnl.git

  - libnftnl: git://git.netfilter.org/libnftnl.git

  - flex

  - bison

  - libgmp

  - libreadline

  - optional: docbook2x: required for building man-page

  - optional: docbook-utils: required for building PDF man-page

 Configuring and compiling
 =========================

 Run "sh autogen.sh" to generate the configure script, then:

 sh configure [options]

 --prefix=

        The prefix to put all installed files under. It defaults to
        /usr/local, so the binaries will go into /usr/local/bin, sbin,
        manpages into /usr/local/share/man, etc.

 --datarootdir=

 	The base directory for arch-independant files. Defaults to
	$prefix/share.

 --disable-debug

	Disable debugging

 Suggested configuration options: --prefix=/ --datarootdir=/usr/share

 Run "make" to compile nftables, "make install" to install it in the
 configured paths.

 Other notes
 ===========

 The nftables kernel tree can be found at:

 git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nftables.git

 The latest version of this code can be found at:

 git://git.netfilter.org/nftables.git