User Tools

Site Tools


Building on Haiku

NOTE: Since Haiku is still highly in development, all the following might already be outdated very soon. Also, expect a few kernel panics here and there since Haiku is still an Alpha release. Nevertheless, it's a lot of fun to use it already :).

Preparing Haiku

Optinal Packages

Run the terminal application via Haiku menuApplicationsTerminal. Use installoptionalpackages to determine what packages are installed:

installoptionalpackage -l

pkgconfig, libmad, git, taglib, sox, glib2 and libmcrypt are required. As of today, only the first four packages are available over installoptionalpackages. To install them, type:

installoptionalpackage pkgconfig libmad git taglib

The remaining packages will either be have to be installed through ports or from their upstream sources (see below):


Run the terminal application via Haiku menuApplicationsTerminal, then download and install Haikuporter:

chmod 755

Then, using Haikuporter install the required build dependencies which are not available through installoptionalpackages, for example:

haikuporter glib-2.24.2

Packages from upstream

libmcrypt and sox have to be downloaded and installed manually:

tar xzf mcrypt-2.6.8.tar.gz
cd mcrypt-2.6.8
./configure && make && make install
tar xzf sox-14.3.1.tar.gz
cd sox-14.3.1
./configure && make && make install

Qt framework

First, make sure you are using a recent version of Haiku that supports Qt. The "gcc4 hybrid" versions support Qt. Then download Qt for Haiku from here.

Getting the code

To get the code, clone it with git as shown on the homepage.

Building everything

libhimd & QHiMDTransfer:


cd linux-minidisc
qmake -r
compilingonhaiku.txt · Last modified: 2011/07/24 18:01 by glaubitz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki