source: doc/INSTALL @ e205b49

mei_rt2mei_rt2_fix_1
Last change on this file since e205b49 was e205b49, checked in by Mei <mei@…>, 12 years ago

1) update more documentation

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[c0bdce8]1For Java installation instructions, see doc/java_install.
2
[9806e76]3Prior to building libabac
4   you may need to install flex, bison, and GNU readline library
5   you must install YAP and libstrongswan
[e205b49]6   Please check doc/dependencies for other software dependencies
[9806e76]7
8Download yap-6.2.2 from www.dcc.fc.up.pt
9    http://www.dcc.fc.up.pt/~vsc/Yap/yap-6.2.2.tar.gz
10
11$./configure --enable-dynamic-loading
12$make
13$make library
14$sudo make install_library
[02888af]15
[d7abe40]16
17You can also install yap on Ubuntu using
18$ sudo apt-get install yap
19
[137b55f]20Download strongswan-4.6.4 from strongswan.org:
21    http://download.strongswan.org/strongswan-4.6.4.tar.bz2
[02888af]22
[b84753b]23
[6aac9f8]24FreeBSD users: add --with-group=wheel to strongswan ./configure
25
[3f8f00f]26Linux users: add --disable-gmp --enable-openssl to strongswan ./configure
27to avoid long credential creation times. The entropy sources
28libstrongswan uses by default gather entropy slowly on Linux.  These
29flags allow it to gather entropy from the same sources as openssl, which
[137b55f]30is noticeably faster. The internal strongswan libraries and plugins
31are installed in /usr/local/lib/ipsec by default unless
32--with-ipseclibdir and --with-plugindir are set otherwise.
[3f8f00f]33
[137b55f]34$ tar xjvf strongswan-4.6.4.tar.bz2
35$ cd strongswan-4.6.4
[3f8f00f]36$ # see note above about configure flags
37$ ./configure --enable-monolithic
[02888af]38$ cd src/libstrongswan
39$ make && sudo make install
40
[f675a89]41Be sure to make note of the directory into which you've untarred
[137b55f]42strongswan-4.6.4.tar.bz2. You will use this in the next step.
[02888af]43
44BUILDING LIBABAC
45
[b84753b]46FreeBSD users will need to install flex-2.5.35 or greater from ports and
47use --with-flex=/usr/local/bin/flex --with-extra-includes=/usr/local/include
48on ./configure in addition to --with-strongswan
49
[137b55f]50$ STRONGSWAN_SRC_DIR=path/to/strongswan-4.6.4
51$ STRONGSWAN_LIB_DIR=path/to/strongswan-ipseclibdir (or /usr/local/lib/ipsec)
52$ ./configure --with-strongswan=$STRONGSWAN_SRC_DIR --with-strongswan-ld-path=$STRONSWAN_LIB_DIR
[02888af]53$ make && sudo make install
Note: See TracBrowser for help on using the repository browser.