I think you need a look at: http://www.haiku-os.org/guides/buildingFrom a quick glance I noticed you have skipped the install Jam command after making, but other than a lack of dependencies: http://www.haiku-os.org/guides/building/pre-reqs I cant see why it failed.
-- Vooshy