summaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: c43d95c3ed256a96796b13e183339ed8a4f0f1ec (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
Installation instructions for iptables
======================================

ebtables uses the well-known configure(autotools) infrastructure.

	$ ./configure
	$ make
	# make install


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

	* no kernel-source required

	* but obviously a compiler, glibc-devel and linux-kernel-headers
	  (/usr/include/linux)


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

./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.

If you want to enable debugging, use

	./configure CFLAGS="-ggdb3 -O0" CPPFLAGS="-DEBT_DEBUG"

(-O0 is used to turn off instruction reordering, which makes debugging
much easier.)