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

  • From: Punsith Rock <1234apunsith@xxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Wed, 11 Jan 2017 09:03:59 -0500

okay thank you very much :) I' will look at make file again.

On Tue, Jan 10, 2017 at 10:26 PM, Pete Goodeve <pete.goodeve@xxxxxxxxxxxx>
wrote:

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 --




-- 
:punsithRock

Other related posts: