Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: ITOJUN
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 62 lines (50 sloc) 2.78 kb
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 procedure - preparation of the tree
KAME project
$Id: INSTALL,v 1.10 1999/11/08 13:29:13 kazu Exp $


KAME build tree shares parts of the tree among operating system
platforms. The "kame" directory is shared among "netbsd", "freebsd2",
and other platforms. You'll first need to make a complete tree from
the distributed tree.

NOTE: On some platforms it is possible to perform "make obj" before
the build. However, it is not recommended since it will cause
troubles with anoncvs operation. For example, "make update" target in
the top-level Makefile will become unusable. Do not perform "make
obj" unless you are ready to tackle those troubles.


0. If you have installed KAME kit in the past, you may need to remove
   files under /usr/local/v6 to avoid conflicts or misuse of old file during
   build process. We recommend you to remove the following, at least:
/usr/local/v6/lib/*
   Also, do not forget to update /usr/include in step 5 (see below),
   otherwise include files and source code become out-of-sync.
  
1. Identify your target operating system, by looking at document named
   "VERSION". Suppose the target is "netbsd".

2. Be sure to have complete tree under your target directory ("netbsd").
   In some cases you'll need to bring in vanilla distribution into
   subdirectories and perform "patch" operation. Consult target directory-
   dependent document for details.

3. Invoke the following:
% make TARGET=netbsd prepare
   This will create necessary symbolic links for the build (from TARGET
   tree to "kame" tree).
   NOTE: You'll need "perl" interpreter for invoking this.

4. Some part of the tree will be compiled, only if there are certain libraries
   installed beforehand:
usr.sbin/tcpdump:
If There is SSLeay or OpenSSL installed beforehand,
tcpdump will let you look inside IPsec packet (-E option).
usr.bin/racoon:
Compiles only if SSLeay or OpenSSL is installed beforehand.
   Please install those libraries before building KAME tree.

   We support the following installations in build tree:
   - you installed SSLeay, with default installation path
   - you installed OpenSSL, with default installation path
This means that you have given no option to "./configure".
   - you installed SSLeay, via FreeBSD ports/NetBSD pkgsrc system
   - you installed OpenSSL, via FreeBSD ports/NetBSD pkgsrc system.
Note that we do not support ports-current/pkgsrc-current. Please
stick to the ports/pkgsrc came the FreeBSD/NetBSD you are using.
   If you install SSLeay/OpenSSL with some other ways, KAME build tree
   may fail to find SSLeay/OpenSSL and omit compilation of, for example,
   usr.sbin/racoon.

5. Go down to the target operating system you have specified, and read
   document named "INSTALL". Good luck!
Something went wrong with that request. Please try again.