File: INSTALL

package info (click to toggle)
ebtables 2.0.11-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 2,144 kB
  • sloc: ansic: 9,451; sh: 4,647; makefile: 61; perl: 45
file content (36 lines) | stat: -rw-r--r-- 773 bytes parent folder | download | duplicates (3)
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.)