Compiling Hydrogen V0.9.4 with QT4

Linux

These are the instructions for compiling the Hydrogen version 0.9.4 and upwards, which is based on QT4.

Required libraries

QT4 libqt4-dev
ALSA libasound-dev
SndFile libsndfile-dev
JACK libjack-dev
LRDF liblrdf-dev
FLAC++ libflac++-dev
TAR libtar-dev
LASH liblash-dev

Build steps

1. Download the QT4/X11 library from http://www.trolltech.com/download/qt/x11.html

2. Compile QT4 and install it to /usr/local if you have a QT3-based system

./configure --prefix=/usr/local
make
su -c "make install"

3. Download the latest Hydrogen development code

4. Compile Hydrogen with:

export QTDIR=/usr/local
./configure
make
su -c "make install"

Debian Lenny Guide

1. Install the required libraries:

apt-get install subversion libqt4-dev g++ libasound2-dev libjack-dev liblrdf0-dev libflac++-dev libtar-dev libsndfile1-dev liblash-dev

2. Get the sourcecode:

cd /usr/src
svn co http://hydrogen-music.org/svn/trunk hydrogen

3. Compile Hydrogen:

cd /usr/src/hydrogen
./configure
make
su -c "make install"