[haiku-development] Re: manual for directory layout in Haiku

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 13 Mar 2016 16:12:32 +0100

On 13/03/2016 15:15, Tim Kelly wrote:

Hello,
I am trying to port some software to Haiku (at the moment I'm working
with hrev49897, a bit out of date).

Well, you should be able to update your install:
https://www.haiku-os.org/guides/daily-tasks/updating-system

It has the traditional configure
script from gnu world, which has a different layout than Haiku,
obviously.  Is there a document/web page somewhere that describes where
files from the Unix-like world should go in Haiku?

The user manual has a chapter on that:
https://www.haiku-os.org/docs/userguide/en/filesystem-layout.html

For first attempts, it might be enough to use --prefix=/system/non-packaged

Some other paths would need to be adjusted, but it should at least run.

You'll really want to write a recipe for HaikuPorts, see:
https://github.com/haikuports/haikuports/wiki

haikuporter has a runConfigure function that takes care of passing all
required paths to configure script, provided they are correctly handled
(sometimes some of them are still hardcoded in makefiles).

François.

Other related posts: