User Tools

Site Tools


compilingonhaiku

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
compilingonhaiku [2010/10/14 09:12] glaubitzcompilingonhaiku [2011/07/24 18:01] (current) glaubitz
Line 1: Line 1:
 ====== Building on Haiku ====== ====== Building on Haiku ======
  
-===== Preparing Haiku, installing dependencies =====+**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 menu//->//Applications//->//Terminal//. Use //installoptionalpackages// to determine what packages are installed: 
 + 
 +<code> 
 +installoptionalpackage -l 
 +</code> 
 + 
 +//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: 
 + 
 +<code> 
 +installoptionalpackage pkgconfig libmad git taglib 
 +</code> 
 + 
 +The remaining packages will either be have to be installed through ports or from their upstream sources (see below): 
 + 
 +==== Ports ==== 
 + 
 +Run the terminal application via //Haiku menu//->//Applications//->//Terminal//, then download and install //Haikuporter//: 
 +<code> 
 +wget http://ports.haiku-files.org/export/1230/haikuporter/trunk/installhaikuporter.sh 
 +chmod 755 installhaikuporter.sh 
 +./installhaikuporter.sh 
 +</code> 
 + 
 +Then, using //Haikuporter// install the required build dependencies which are not available through //installoptionalpackages//, for example: 
 +<code> 
 +haikuporter glib-2.24.2 
 +</code> 
 + 
 +==== Packages from upstream ==== 
 + 
 +//libmcrypt// and //sox// have to be downloaded and installed manually: 
 +<code> 
 +wget http://downloads.sourceforge.net/project/mcrypt/MCrypt/2.6.8/mcrypt-2.6.8.tar.gz 
 +tar xzf mcrypt-2.6.8.tar.gz 
 +cd mcrypt-2.6.8 
 +./configure && make && make install 
 +wget http://downloads.sourceforge.net/project/sox/sox/14.3.1/sox-14.3.1.tar.gz 
 +tar xzf sox-14.3.1.tar.gz 
 +cd sox-14.3.1 
 +./configure && make && make install 
 +</code> 
 + 
 +===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 [[http://qt-haiku.ru/index.php?option=com_rokdownloads&view=folder&Itemid=60|here]]. 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 [[http://qt-haiku.ru/index.php?option=com_rokdownloads&view=folder&Itemid=60|here]].
  
-Alsoinstall //git// and //gcc// together with all GNU build utilities.+===== Getting the code ===== 
 + 
 +To get the codeclone it with //git// as shown on the [[start#source_code|homepage]].
  
-Then install the following libraries together with their development files:+===== Building everything =====
  
-- libmad, glib, libmcrypt, libsox, taglib +libhimd & QHiMDTransfer:
-===== Fetching the code =====+
  
 +Type:
 <code> <code>
-git clone git://sulphur.uio.no/linux-minidisc+cd linux-minidisc 
 +qmake -r 
 +make
 </code> </code>
  
Line 20: Line 72:
   * Haiku Homepage: [[http://www.haiku-os.org/]]   * Haiku Homepage: [[http://www.haiku-os.org/]]
   * Haiku Ports: [[http://ports.haiku-files.org/]]   * Haiku Ports: [[http://ports.haiku-files.org/]]
-  * Qt4 for Haiku: [[http://dev.osdrawer.net/projects/qt-beos]] 
   * Haiku GCC4 Hybrid: [[http://haiku-files.org/cd/]]   * Haiku GCC4 Hybrid: [[http://haiku-files.org/cd/]]
-  * Another Qt4 for Haiku: [[http://qt-haiku.ru/index.php?option=com_rokdownloads&view=folder&Itemid=60]]+  * Qt4 for Haiku: [[http://qt-haiku.ru/]] 
 +  * Another port of Qt4 for Haiku: [[http://dev.osdrawer.net/projects/qt-beos]]
compilingonhaiku.1287047564.txt.gz · Last modified: 2010/10/14 09:12 by glaubitz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki