Dobrica Pavlinušić's random unstructured stuff
Semantic Engine: Revision 14

This page will document my tries to install it on current Debian unstable with support for both SQLite and MySQL. I also have ISO-8859-2 console, so it's important for me that UTF-8 encoded characters work well.

I will also try to specify differences when installing on latest Debian stable, etch.



Links

Development libraries

sudo apt-get install libboost-filesystem-dev libboost-graph-dev libboost-program-options-dev libsqlite3-dev libmysqlclient15-dev

This will install (currently) version 1.34 of boost which won't work without patching source code.

Installation

Download semantic-engine-0-compile.diff if you are installing on unstable. If not, just skip patch below.

svn co http://semantic-engine.googlecode.com/svn/trunk Semantic-Engine
cd Semantic-Engine
patch -p0 < ~/semantic-engine-0-compile.diff
./bootstrap
make

Perl bindings

Compile and install perl bindings:

cd pl
perl Makefile.PL
make
make test
sudo make install
cd ..

Shared parts

cd share
sudo make install
cd ..

QT interface

Compile and try out QT interface using following patch: semantic-engine-1-qt.diff

cd qt/semantic_engine/
patch -p2 < ~/semantic-engine-1-qt.diff
qmake-qt4 
make
./SemanticEngine-debug