All software packages except strongswan-4.6.4 can be installed via distribution package. libstrongswan: strongswan-4.6.4 http://strongswan.org/ http://download.strongswan.org/strongswan-4.6.4.tar.bz2 swig: swig-1.3 http://swig.org/ http://sourceforge.net/projects/swig/files/swig/swig-1.3.40/ Perl modules: (via CPAN or distribution package) IO::Socket::SSL HTTP::Daemon::SSL RPC::XML (Perl needs to be linked with a thread library, although need not to be threaded) Python modules: m2crypto GNU Readline library: readline-6.2 YAP 6.2.2 Prolog system: http://www.dcc.fc.up.pt/~vsc/Yap/yap-6.2.2.tar.gz Flex: http://sourceforge.net/projects/flex/files/flex/flex-2.5.35/flex-2.5.35.tar.gz GNU Bison: http://ftp.gnu.org/gnu/bison/ BUILDING ON UBUNTU The following is a complete list of packages required in order to build from git on Ubuntu (tested on version 10.04,11.04,12.04): autoconf-archive automake g++ git-core libgmp3c2 libgmp3-dev libio-socket-ssl-perl libhttp-daemon-ssl-perl librpc-xml-perl libssl-dev libtool python-dev swig BUILDING ON FREEBSD The following is a list of pkgs necessary to build from ports on FreeBSD (tested on version 8.2): libxcb freetype2 libSM libX11 openjdk6 gettext flex gmp p5-IO-Socket-SSL p5-XML-RPC perl-5.14.2_2 autoconf-wrapper-20091109 automake-wrapper-20091109 autoconf-2.69 automake-1.12.3 apache-ant (tested on version 9.1): openjdk6 flex perl (perl5.14.2) load_r_pkg perl p5-IO-Socket-SSL p5-XML-RPC swig automake BUILDING ON MAC OS X (Thanks to Victor J. Orlikowski ) The following is a list of pkgs necessary to build from MacPorts vstr swig swig-python swig-perl swig-java bison flex readline