source: doc/INSTALL @ 671c065

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

1) update new performance graphs with standard deviations

  • Property mode set to 100644
File size: 2.1 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
[671c065]11Before building Yap,
12   patch include/YapInterface.h with doc/YapInterface.h.diff
[43478b1]13
[671c065]14$./configure --enable-dynamic-loading --enable-use-malloc=yes
[9806e76]15$make
16$make library
17$sudo make install_library
[02888af]18
[671c065]19(Note: If you ever run into the OOOPS message when installing Yap,
20manually clear out all traces of Yap from your /usr/local especially
21/usr/local/share)
22
[d7abe40]23
24You can also install yap on Ubuntu using
25$ sudo apt-get install yap
26
[137b55f]27Download strongswan-4.6.4 from strongswan.org:
28    http://download.strongswan.org/strongswan-4.6.4.tar.bz2
[02888af]29
[b84753b]30
[6aac9f8]31FreeBSD users: add --with-group=wheel to strongswan ./configure
32
[3f8f00f]33Linux users: add --disable-gmp --enable-openssl to strongswan ./configure
34to avoid long credential creation times. The entropy sources
35libstrongswan uses by default gather entropy slowly on Linux.  These
36flags allow it to gather entropy from the same sources as openssl, which
[137b55f]37is noticeably faster. The internal strongswan libraries and plugins
38are installed in /usr/local/lib/ipsec by default unless
39--with-ipseclibdir and --with-plugindir are set otherwise.
[3f8f00f]40
[137b55f]41$ tar xjvf strongswan-4.6.4.tar.bz2
42$ cd strongswan-4.6.4
[3f8f00f]43$ # see note above about configure flags
44$ ./configure --enable-monolithic
[02888af]45$ cd src/libstrongswan
46$ make && sudo make install
47
[f675a89]48Be sure to make note of the directory into which you've untarred
[137b55f]49strongswan-4.6.4.tar.bz2. You will use this in the next step.
[02888af]50
51BUILDING LIBABAC
52
[b84753b]53FreeBSD users will need to install flex-2.5.35 or greater from ports and
54use --with-flex=/usr/local/bin/flex --with-extra-includes=/usr/local/include
55on ./configure in addition to --with-strongswan
56
[137b55f]57$ STRONGSWAN_SRC_DIR=path/to/strongswan-4.6.4
58$ STRONGSWAN_LIB_DIR=path/to/strongswan-ipseclibdir (or /usr/local/lib/ipsec)
59$ ./configure --with-strongswan=$STRONGSWAN_SRC_DIR --with-strongswan-ld-path=$STRONSWAN_LIB_DIR
[02888af]60$ make && sudo make install
[43478b1]61
Note: See TracBrowser for help on using the repository browser.