blob: 29fd860d98514c437b6490e8407c90a71c269e44 [file] [log] [blame]
Richard Gooch8e3b8922000-04-22 00:57:38 +00001FOLLOW THESE STEPS:
2===================
Rusty Russell31563352000-10-11 05:50:35 +000030) If you want to try some fun extensions, try:
4 % make patch-o-matic KERNEL_DIR=<<where-your-kernel-is>>
Richard Gooch8e3b8922000-04-22 00:57:38 +00005
Rusty Russell8c245b52000-07-14 08:01:22 +000061) If /usr/src/linux contains the kernel headers of a recent 2.4
7 kernel:
Richard Gooch8e3b8922000-04-22 00:57:38 +00008 % make
9
Rusty Russell8c245b52000-07-14 08:01:22 +000010 Otherwise:
11 % make KERNEL_DIR=<<where-your-kernel-is>>
Rusty Russell7fae6fa2000-05-31 06:32:02 +000012
Rusty Russell8c245b52000-07-14 08:01:22 +0000132) Finally, you need to to install the shared libraries, and the binary:
Rusty Russell7fae6fa2000-05-31 06:32:02 +000014 # make install
Rusty Russell8c245b52000-07-14 08:01:22 +000015 Or
16 # make install KERNEL_DIR=<<where-your-kernel-is>>
Rusty Russell7fae6fa2000-05-31 06:32:02 +000017
Rusty Russell8c245b52000-07-14 08:01:22 +000018That's it!
19================
20Problems you may encounter:
21
Rusty Russell31563352000-10-11 05:50:35 +0000221) This package requires a 2.4.0 test9 kernel, or above.
Rusty Russell8c245b52000-07-14 08:01:22 +000023
242) If you get the kernel directory wrong, you may see a message like:
25 Please try `make KERNEL_DIR=path-to-correct-kernel'
26
273) If you want to specify alternate directories for installation
28(instead of /usr/local/ bin lib man), do this:
Richard Gooch8e3b8922000-04-22 00:57:38 +000029
30 % make BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/man
Rusty Russell8c245b52000-07-14 08:01:22 +000031 # make BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/man install
Richard Gooch8e3b8922000-04-22 00:57:38 +000032
33NOTE: make sure you build with at least the correct LIBDIR=
34specification, otherwise iptables(8) won't know where to find the
35dynamic objects.
James Morrisc82e9ac2000-11-24 14:34:02 +000036
37
38DEVELOPERS:
39===========
40
410) If you wish to install iptables development libraries
42 and related components, type:
43 % make install-devel
44
45Development libraries currently installed by the above are:
46 libipq: Userspace packet queueing API
47
48
49