Chapter 1. Installation

Table of Contents

Dependencies
Pre-compiled Binaries
From Source

Dependencies

Pre-compiled Binaries

The pre-compiled binaries available for all operating systems are compiled as statically-linked binaries. This means that the software has no dependencies. Just install and have fun!

From Source

In order to compile the Semantic Engine from source, you will need the following software:

Software Dependencies
NameVersionAvailable FromComments
BOOST C++ Libraries1.33.1http://www.boost.org/
SQLite3.3.7http://www.sqlite.org/optional - required for SQLite storage support
MySQL5.0.16http://www.mysql.com/optional - required for MySQL storage support

The Semantic Engine requires at least one type of storage engine from the list above. Currently only SQLite 3 and MySQL 5 are available.

Windows (any)

Installation on the Windows operating system can be done through the Cygwin environment (http://www.cygwin.com/). Cygwin provides a UNIX-style command line, along with software packages, in a Windows terminal window. You will need to install GNU make, and the software outlined in the dependencies section above.

You can then follow the same directions as for UNIX/Linux below (the section called “UNIX/Linux/Mac OS X”).

UNIX/Linux/Mac OS X

  1. Get the source: the latest source code can be downloaded from www.knowledgesearch.org.

  2. Extract the source tree:

    prompt> tar zxf semantic-engine.xxx.tar.gz
    prompt> cd semantic-engine.xxx
  3. Compile and install the tools:

    prompt> ./configure --help
    prompt> ./configure <options>
    prompt> make
    prompt> sudo make install
  4. (Optionally) Compile and install the Perl bindings:

    prompt> cd pl
    prompt> perl Makefile.PL <options>
    prompt> make
    prompt> make test
    prompt> sudo make install