Help:Contents

From TomahaWiki

Jump to: navigation, search

Contents

Installing Dependencies

sudo apt-get install build-essential cmake libtag1c2a libtag1-dev libqt4-dev libqt4-sql-sqlite \
                     libvorbis-dev libmad0-dev libflac++-dev libasound2-dev libboost-dev zlib1g-dev \
                     libgnutls-dev libgloox-dev libqjson-dev libz-dev libqca2-dev pkg-config

Building libEchonest & CLucene

libEchonest 1.1.4

See: http://projects.kde.org/projects/playground/libs/libechonest/

Download and unpack tarball:

mkdir build && cd build
cmake ..
make
sudo make install

CLucene 0.9.23

See: http://clucene.sourceforge.net/download.shtml

Clone from git and build CLucene:

git clone git://clucene.git.sourceforge.net/gitroot/clucene/clucene
cd clucene && mkdir build && cd build
cmake ..
make
sudo make install

Compiling Tomahawk

mkdir build && cd build
cmake ..
make
./tomahawk

Notes for Ubuntu 10.04

The gloox and qjson packages for Ubuntu 10.04 are too old and won't work properly with Tomahawk. Install these dependencies as described below:

Gloox 1.0 (XMPP library)

See: http://camaya.net/glooxdownload You need to build gloox 1.0 from source, Ubuntu 10.04 only packages version 0.9.

Download and unpack tarball:

./configure --without-openssl --with-gnutls --without-libidn --with-zlib --without-examples --without-tests
CXXFLAGS=-fPIC make
sudo make install

QJson (Qt JSON library)

See: http://sourceforge.net/projects/qjson/files/ (developed using version 0.7.1) Download and unpack tarball:

./configure && make
sudo make install
Personal tools