[haiku-3rdparty-dev] Re: install Archiver to Haiku

  • From: Pete Goodeve <pete.goodeve@xxxxxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Tue, 10 Jan 2017 19:26:31 -0800

On Mon, Jan 09, 2017 at 07:33:47PM -0500, Punsith Rock wrote:

I am trying to compile and install Archiver to haiku, The Sw is compiled
but not working. I updated the old Be os partrhs and some library parths.
But nothing seems to work , is their anything else to update ??

code I changed :: https://github.com/punsith/Archiver/

Hi,

I took a quick look, and I see a couple of mismatches.

First, I'm not sure how Github handles links.  I just grabbed your
code as a zip, and the "Drop..here..." items came over as text files
rather than links.  So I just dragged the executable and rules files
to your suggested places.

However, you direct the rules file to '/boot/home/config/non-packaged/etc',
but your code looks in B_SYSTEM_ETC_DIRECTORY -- which is
 "/boot/system/settings/etc"!  So it goes and uses its defaults, which
unfortunately still include a reference to "/boot/beos/bin/zip"!  And
more unfortunately it then goes and writes those defaults to
B_SYSTEM_ETC_DIRECTORY.

I just put your rules in B_SYSTEM_ETC_DIRECTORY, and things (mostly)
work.  Looks like some things are not quite as I would expect, but
I'll leave further tweaking to you... (:-))

I couldn't use your Makefile BTW -- not sure what was wrong but
it objected to the gcc++ line.  I just used my own variant of the
standard Haiku makefile and it compiled fine.

Cheers,

        -- Pete --

Other related posts: