-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Many parts of INSTALL has been re-written for readability.
Please move the STABLE tag. > itojun.
- Loading branch information
kazu
committed
Dec 9, 1999
1 parent
a960b42
commit 9ecf22d
Showing
1 changed file
with
53 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,61 +1,72 @@ | |||
Installation procedure - preparation of the tree | Installation procedure - preparation of the tree | ||
KAME project | KAME project | ||
$Id: INSTALL,v 1.10 1999/11/08 13:29:13 kazu Exp $ | $Id: INSTALL,v 1.11 1999/12/09 12:23:25 kazu Exp $ | ||
|
|
||
Let's call the entire file-tree under this directory "the KAME tree". | |||
|
|
||
KAME build tree shares parts of the tree among operating system | This directory contains several information files and two | ||
platforms. The "kame" directory is shared among "netbsd", "freebsd2", | directories. The "kame" directory contains files created by the KAME | ||
and other platforms. You'll first need to make a complete tree from | project, which are shareable among NetBSD, FreeBSD, and other | ||
the distributed tree. | operating systems. | ||
|
|
||
NOTE: On some platforms it is possible to perform "make obj" before | The other directory is for your target operating system. In most | ||
the build. However, it is not recommended since it will cause | cases, sufficient files are provided and ready for IPv6. So, you don't | ||
troubles with anoncvs operation. For example, "make update" target in | have to apply any patches. | ||
the top-level Makefile will become unusable. Do not perform "make | |||
obj" unless you are ready to tackle those troubles. | |||
|
|
||
However, due to license issues, some necessary files are not provided | |||
for some operating systems. In this case you have to complete the KAME | |||
tree by yourself (in the step 2). | |||
|
|
||
0. If you have installed KAME kit in the past, you may need to remove | NOTE: On some operating systems it is possible to perform "make obj" | ||
files under /usr/local/v6 to avoid conflicts or misuse of old file during | before building. However, it is not recommended since it might cause | ||
build process. We recommend you to remove the following, at least: | troubles with anoncvs operation. For example, the "update" target for | ||
Makefile in the top-level directory will become unusable. Do not | |||
perform "make obj" unless you are ready to tackle those troubles. | |||
|
|||
0. If you have an installed KAME kit in the past, you may need to | |||
remove the files under "/usr/local/v6" to avoid conflicts or misuse | |||
of the old files during building. We recommend you to remove the | |||
following, at least: | |||
/usr/local/v6/lib/* | /usr/local/v6/lib/* | ||
Also, do not forget to update /usr/include in step 5 (see below), | Also, do not forget to update "/usr/include" in step 5 (see below), | ||
otherwise include files and source code become out-of-sync. | otherwise the 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"). | 1. See the "VERSION" file and identify a symbol name for your target | ||
In some cases you'll need to bring in vanilla distribution into | operating system. For the rest of this document, we assume "netbsd" | ||
subdirectories and perform "patch" operation. Consult target directory- | for explanation. | ||
dependent document for details. |
|
||
2. Be sure to have the complete KAME tree. In some cases you'll need | |||
to get sources and put them into the target directory, then perform | |||
"patch" operations. Please read the documents under your target | |||
directory for more information. | |||
|
|
||
3. Invoke the following: | 3. Invoke the following: | ||
% make TARGET=netbsd prepare | % make TARGET=netbsd prepare | ||
This will create necessary symbolic links for the build (from TARGET | This will create necessary symbolic links for building (from the | ||
tree to "kame" tree). | "netbsd" tree to the "kame" tree). NOTE: You'll need the "perl" | ||
NOTE: You'll need "perl" interpreter for invoking this. | interpreter to invoke this. | ||
|
|
||
4. Some part of the tree will be compiled, only if there are certain libraries | 4. Some parts of the KAME tree will be compiled, only if there are | ||
installed beforehand: | certain libraries installed beforehand: | ||
usr.sbin/tcpdump: | usr.sbin/tcpdump: | ||
If There is SSLeay or OpenSSL installed beforehand, | If there is SSLeay or OpenSSL installed beforehand, | ||
tcpdump will let you look inside IPsec packet (-E option). | tcpdump will let you look inside IPsec packet (-E option). | ||
usr.bin/racoon: | usr.sbin/racoon: | ||
Compiles only if SSLeay or OpenSSL is installed beforehand. | Compiles only if SSLeay or OpenSSL is installed beforehand. | ||
Please install those libraries before building KAME tree. | Please install those libraries before building. | ||
|
|
||
We support the following installations in build tree: | We support the following installations. | ||
- you installed SSLeay, with default installation path | - You installed SSLeay, with default installation path | ||
- you installed OpenSSL, with default installation path | - You installed OpenSSL, with default installation path | ||
This means that you have given no option to "./configure". | This means that you have given no option to "./configure". | ||
- you installed SSLeay, via FreeBSD ports/NetBSD pkgsrc system | - You installed SSLeay, via FreeBSD ports/NetBSD pkgsrc system | ||
- you installed OpenSSL, 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 | Note that we do not support ports-current/pkgsrc-current. Please | ||
stick to the ports/pkgsrc came the FreeBSD/NetBSD you are using. | 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 | If you install SSLeay/OpenSSL with some other ways, the KAME tree | ||
document named "INSTALL". Good luck! | may fail to find SSLeay/OpenSSL and omit compilation of, for | ||
example, usr.sbin/racoon. | |||
|
|||
5. Go down to the target directory that you have specified(e.g | |||
"netbsd"), and read document named "INSTALL". Good luck! |