[haiku-development] Re: Haiku PM: How to install a full development environment?

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 30 Sep 2013 02:02:20 +0200

On 09/29/2013 04:27 PM, Bruno Albuquerque wrote:
I am playing with the new PM stuff in Haiku and compiled a x86/x86_gcc2
hybrid version of it.

Now I am trying to set it up for development but i am having issues. I
installed the gcc package from HaikuDepot and also installed binutils.
Now the issue is that there are no header files (for ecample, unistd.h
is missing) and there is no obvious package to install those (or maybe I
am just being obtuse and could not figure it out).

I assume you built your image with a build profile that doesn't include the development files (most notably the haiku_devel package). Since we don't have a package repository with the Haiku core packages yet (that is planned, of course), there's no easy way to install those later.

The easiest solution is to rebuild with a respective build profile. I usually define something like:

  DefineBuildProfile alpha-disk : disk : /dev/sdaX ;

Using that results in a regular release build, just on the specified partition.

CU, Ingo


Other related posts: