How do I build Haiku, in Ubuntu/Lubuntu/Puppy Linux, using Git...
I used to do my own builds of Haiku, but now I don't know what to do, because the repository has been changed from Svn to Git. How much has changed about the process? Just the download of tools/source or more? There doesn't seem to be an all-in-one document, detailing the entire build process, except mine, which is no no longer valid, because various aspects have changed. I can write up a revised one, but I need to know how much has changed and what hasn't.
This is a snippet of my most recently updated docs, based on what I think has changed, based on what I could find:
Changes are in bold.
----
Ready to begin? Great! Let's go!
Bring up the Terminal (it's in Application → Accessories).
Type: sudo apt-get install git autoconf automake texinfo flex bison gawk build-essential
Type in your System password and hit [Enter]. Ubuntu will download/install various files.
When you see the Terminal prompt again, type:
git clone git://git.haiku-os.org/buildtools.git haiku/buildtools
When the Terminal reappears, type:
cd haiku/buildtools/jam
make
sudo ./jam0 install
Type your System password, if necessary, on the last command.
When the Terminal prompt reappears, type:
cd ../../..
This will take you back to where Terminal started, when you first ran it.
Now type:
git clone git://git.haiku-os.org/haiku.git haiku/haiku
This will download the entire Haiku source tree.
--------
Let me know if this is the right way to go about doing it or not. Thanks!

Comments
Re: How do I build Haiku, in Ubuntu/Lubuntu/Puppy Linux, ...
Yep it seems right to me, too :-)
You can then compile with:
... but the last time I've tried to compile Haiku (2-3 days ago)I get a lot of build errors... and:
does nothing sadly :-(((
Is it fixed now?
Re: How do I build Haiku, in Ubuntu/Lubuntu/Puppy Linux, ...
I've updated now and I got this error:
I'm doing something wrong?
I'm compilin' on Haiku itself... I suppose this release is broken :-(
I'm, in reality, interested to compile only libbe.so (Support Kit) there is a way to compile only this target and not all the Haiku image (that, incidentally not compile)?
Thanks!
Re: How do I build Haiku, in Ubuntu/Lubuntu/Puppy Linux, ...
Remember that live code repo may contain code which isn't finished yet. I guess you have to check out specific revision (tag/branch) which is marked as stable.
Re: How do I build Haiku, in Ubuntu/Lubuntu/Puppy Linux, ...
Yes... You've some suggestion to checkout (or clone as git like to say) a stable release?
P.S. the checked out image was broken... extracted r43238 (that is the Haiku image in which I'm writing, and so I know it compiled :-) ) and done a branch with:
and now finally it compiles...
Another tip if you want to compile only a module you do:
for example to compile only libbe.so and all Haiku image you do:
Finally I can create my getNum() BString methods :-)
Re: How do I build Haiku, in Ubuntu/Lubuntu/Puppy Linux, ...
I tried my modifications and they work. Just did a build of both a Haiku .image and .ISO in Lubuntu 11.04 (Actually, I'm in FireFox 7 in Lubuntu right now, typing this... off an 8Gb USB thumb drive, no less!). I've polished v3 of my instructs, if anyone wants them. They should work in Ubuntu as well, with minor wording differences in the instructs. I can also modify v2 (which applies to Ubuntu (Intrepid Ibex)) for the most recent changes, if anyone needs it.
I am actually amazed how fast git downloads the sources for both the buildtools and Haiku! Much faster than SVN and I think it takes up a lot less diskspace, too? Or maybe it just looks that way?
I'm trying to make an old PII 266Mhz system usable, speed-wise (Ubuntu is slow and Lubuntu won't even boot on it, so I'm going to see if Puppy Linux will do the trick (the LiveCD boots and seems to run ok) and then see what changes I need to make to my instructs, to build Haiku in Puppy Linux.