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.

{toc: }

^ Links

* project page: http://code.google.com/p/semantic-engine/
* "Using Latent Semantic Analysis in Bioinformatics"<http://www.hirank.com/semantic-indexing-project/presentations/biocon/slide0001.htm>

^ Development libraries

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

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

^ Installation

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

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

^^ Perl bindings

Compile and install perl bindings:

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

^^ Shared parts

.pre
cd share
sudo make install
cd ..
.pre

^^ QT interface

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

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