[haiku-development] Re: non-packaged make install

  • From: Sean Healy <jalopeura@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 20 Sep 2014 09:40:23 -0700

On Fri, 19 Sep 2014 22:28:53 -0700, Ralf Schülke <ralf.schuelke@xxxxxxxxx> wrote:


Hi,
HAIKU i have a problem!

The situaation are:
Install a C++ lib (https://github.com/maekitalo/cxxtools)

In the past:
,/configute --prefix=/boot/common
-> this works, but noew Haiku have a packaged system, and the "common"
folder are deprecated install path.

I read, the "/boot/system/non-packaged"  are the right place to install.

The problem are the "include"  path are not working anymore, because
haiku will need PREFIX/develop/headers

The lib, are a autotool project, when i add the
--includedir=/boot/system/nin-packaged

became i error (make install) he can't mkdir -p 655 'develop/header'

When i not can set the includedir than can't used this lib, he can't
found the header.
(haiku look inti develop/headers not /include)

What can i do now?

if you haven't run 'autoreconf -i' (as suggested by the README at the link you provided), do so now.

If you have already done that, then maybe there's a problem in autotools.

In any case, given that PREFIX is supposed to point to an installation location, not to a header directory, you might try this:

./configure --prefix=/boot/system/non-packaged --includedir=/boot/system/develop/headers

(Please note that this is just a guess, I haven't actually downloaded the source and attempted it.)

However, if the Makefile is really pulling headers from PREFIX, well, that's just wrong and you'll need to patch it to make it right.

Thanks Ralf


Other related posts: