source: doc/INSTALL @ 5338995

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

1) upgraded to use strongswan-4.6.4

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