For Java installation instructions, see doc/java_install. Prior to building libabac you may need to install flex, bison, and GNU readline library you must install YAP and libstrongswan Download yap-6.2.2 from www.dcc.fc.up.pt http://www.dcc.fc.up.pt/~vsc/Yap/yap-6.2.2.tar.gz $./configure --enable-dynamic-loading $make $make library $sudo make install_library You can also install yap on Ubuntu using $ sudo apt-get install yap Download strongswan-4.6.4 from strongswan.org: http://download.strongswan.org/strongswan-4.6.4.tar.bz2 FreeBSD users: add --with-group=wheel to strongswan ./configure Linux users: add --disable-gmp --enable-openssl to strongswan ./configure to avoid long credential creation times. The entropy sources libstrongswan uses by default gather entropy slowly on Linux. These flags allow it to gather entropy from the same sources as openssl, which is noticeably faster. The internal strongswan libraries and plugins are installed in /usr/local/lib/ipsec by default unless --with-ipseclibdir and --with-plugindir are set otherwise. $ tar xjvf strongswan-4.6.4.tar.bz2 $ cd strongswan-4.6.4 $ # see note above about configure flags $ ./configure --enable-monolithic $ cd src/libstrongswan $ make && sudo make install Be sure to make note of the directory into which you've untarred strongswan-4.6.4.tar.bz2. You will use this in the next step. BUILDING LIBABAC FreeBSD users will need to install flex-2.5.35 or greater from ports and use --with-flex=/usr/local/bin/flex --with-extra-includes=/usr/local/include on ./configure in addition to --with-strongswan $ STRONGSWAN_SRC_DIR=path/to/strongswan-4.6.4 $ STRONGSWAN_LIB_DIR=path/to/strongswan-ipseclibdir (or /usr/local/lib/ipsec) $ ./configure --with-strongswan=$STRONGSWAN_SRC_DIR --with-strongswan-ld-path=$STRONSWAN_LIB_DIR $ make && sudo make install