Building Ubuntu Binary on older versions of Ubuntu

From TomahaWiki

Jump to: navigation, search

Contents

Installing Dependencies

sudo apt-get install build-essential cmake libtag1c2a libtag1-dev libqt4-dev libqt4-sql-sqlite \
                     libphonon-dev libboost-dev zlib1g-dev libgnutls-dev libqjson-dev libz-dev \
                     libqca2-dev libattica-dev pkg-config libx11-dev

Notes for Ubuntu 10.10 and older

Building QTweetLib, libEchonest, jreen, CLucene & QuaZip

QTweetLib

See: https://github.com/minimoog/QTweetLib

git clone https://github.com/minimoog/QTweetLib.git
mkdir QTweetLib/build && cd QTweetLib/build
cmake ..
make
sudo make install

libEchonest 1.2.0

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

git clone http://anongit.kde.org/libechonest
mkdir libechonest/build && cd libechonest/build
cmake ..
make
sudo make install

jreen 1.x

See: https://github.com/euroelessar/jreen

git clone git://github.com/euroelessar/jreen.git
mkdir jreen/build && cd jreen/build
cmake ..
make
sudo make install

CLucene 0.9.23

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

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

QuaZip 0.4.x

See: http://quazip.sourceforge.net

svn co https://quazip.svn.sourceforge.net/svnroot/quazip/trunk/quazip
mkdir quazip/build && cd quazip/build
cmake ..
make
sudo make install

Compiling Tomahawk

git clone https://github.com/tomahawk-player/tomahawk.git
mkdir tomahawk/build && cd tomahawk/build
cmake ..
make
./tomahawk

Notes for Ubuntu 10.04 and older

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

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