Re: Problem building garnome 0.24.2 on Solaris 9 - HELP needed



Ok,

You have assumed right, garnome uses recent GAR. I have tried both methods you have specified, and the problem now is as such:

 ==> Applying patch download/insensitive-iain.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --speed-large-files --minimal -Nru gtk+-2.2.1/gtk/gtkstyle.c gtk+-2.2.1/gtk/gtkstyle.c
|--- gtk+-2.2.1/gtk/gtkstyle.c    2003-01-31 15:42:34.000000000 +1100
|+++ gtk+-2.2.1/gtk/gtkstyle.c    2003-02-08 08:11:30.000000000 +1100
--------------------------
File to patch: "it expects something from me,"

Any clues,,,

I will do my googleing to see if anyone else had those issues....


Eric Damphousse wrote:
Will do!... and thanks

Nick Moffitt wrote:
begin  Eric Damphousse  quotation:
  
 You either have to fix gar.conf.mk to use gpatch,
 >or symlink /usr/bin/gpatch to "some path/patch" such
 >that "some path" is in front of /usr/bin, which is
 >where the patch binary you're getting output from
 >is.  I assume you're trying to build on Solaris.
    

	Yeah, that's a likely culprit.  

First of all, make sure you install GNU patch.

Second, I'm assuming garnome 0.24.2 (242 sighting!) uses recent GAR,
which has the following at about line 204 of gar.lib.mk:

PATCHDIR ?= $(WORKDIR)
PATCHDIRLEVEL ?= 1
PATCHDIRFUZZ ?= 2
GARPATCH = patch -d$(PATCHDIR) -p$(PATCHDIRLEVEL) -F$(PATCHDIRFUZZ)

	if this is so, then you can do:

make GARPATCH='/usr/bin/gpatch -d$(PATCHDIR) -p$(PATCHDIRLEVEL) -F$(PATCHDIRFUZZ)' install

and the patch rules will use the new patch utility.  Barring that,
just edit gar.lib.mk and swap in the location for GNU patch wherever
you have the system calling the raw "patch" executable.

  




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]