summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrusty <rusty>2000-04-22 00:57:38 +0000
committerrusty <rusty>2000-04-22 00:57:38 +0000
commit992bc726d58fa1c0bdbee9a6544b82cce43f7543 (patch)
tree1de0b5405ca6c76c931620614edfe73f30c28959
parentfcbb2f45e58e4f2f22c2175c13fcc6025835a8f6 (diff)
RIchard Gooch's INSTALL file (minorly modified).
-rw-r--r--INSTALL29
1 files changed, 29 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..7807dc9
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,29 @@
+FOLLOW THESE STEPS:
+===================
+
+Make sure /usr/src/linux contains the kernel headers you're building
+against. If /usr/src/linux is an older kernel, set the KERNEL_DIR
+environment variable to point to the current kernel sources.
+
+If you forget the above step, a bogus dependency files with a ".d"
+extension may be created. If you see messages like:
+ make: *** No rule to make target `include/linux/netfilter_ipv4/ipt_limit.h',
+ needed by `iptables.d'. Stop.
+
+then you have these bogus dependency files. Do this:
+
+ % make distclean
+
+To build, just do:
+
+ % make
+
+If you want to specify alternate directories for installation (instead
+of /usr/local/ bin lib man), do this:
+
+ % make BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/man
+ % make BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/man install
+
+NOTE: make sure you build with at least the correct LIBDIR=
+specification, otherwise iptables(8) won't know where to find the
+dynamic objects.