|
From: <tim...@en...> - 2006-09-12 17:17:44
|
Richard Henwood wrote:
> On Tue, Sep 12, 2006 at 12:05:44AM +0200, Timoth=E9e Lecomte wrote:
>
> <snip>
>
> =20
>> To apply the patch, go to the cvs checkout directory, and then:
>>
>> cd src/wxterminal
>> patch -p1 < debug_richard.diff
>> cd ../..
>>
>> =20
>
> hmmmmmm, I think i've made a bit of a pigs ear of this:
>
> src/wxterminal> patch -p1 < /tmp/debug_richard.diff
> patching file gp_cairo.c
> Reversed (or previously applied) patch detected! Assume -R? [n] y
> Hunk #2 FAILED at 1602.
> Hunk #3 FAILED at 1611.
> 2 out of 3 hunks FAILED -- saving rejects to file gp_cairo.c.rej
> src/wxterminal>
>
> I answered y, maybe that should have been a 'N'?
> =20
That's my fault, I forgot to remove the CVS id at the beginning of the=20
diff file, and the 'patch' command probably got confused. Answering 'n'=20
should have been ok.
> =20
>> Finally recompile with make; make install
>>
>> Once you've done that, try with your favorite plot command ('test' is=20
>> fine) and please send me the output messages you obtain with and witho=
ut=20
>> oversampling.
>>
>> =20
>
> Ok, in the end I cut an pasted the diffd lines into gp_cairo.c and
> make' worked. Can I just run ./src/gnuplot - avoiding to need to
> make install?
> =20
Sure.
> I don't get any printf output with test.
> =20
Really ?? That's _very_ strange : if you placed this this serie of =20
printf at the right place, the output _must_ appear at least once per pl=
ot.
> So, apologies for my clumsiness, but:
> can you advise if I should start with a new
> checkout from CVS and if I should press y/n to the 'Assume -R?'
> query from patch.
> =20
If you cut and paste manually, that should be enough. Use the attached=20
patch with a fresh cvs checkout if you prefer.
Could you put your gnuplot source directory and send it to me ? I wonder=20
if you don't have some problem with the source itself, and with a little=20
case I could even try to run your executable on my machine. (however,=20
don't send it to the whole list to avoid loading others' mailboxes)
Best regards, and thanks again for your help to debug this,
Timoth=E9e
|