[Chilli] R: building chilli from source
chilli at quidecco.de
Wed Apr 21 16:03:25 UTC 2010
> i tried to apply the patch you attached before but I fail to apply it.
> This is the error:
> [centos at localhost coova-chilli-1.2.2]$ sudo patch coova-chilli.spec.in <
> patching file coova-chilli.spec.in
> Reversed (or previously applied) patch detected! Assume -R? [n] y
> Hunk #2 FAILED at 22.
> 1 out of 2 hunks FAILED -- saving rejects to file > coova-chilli.spec.in.rej
> [centos at localhost coova-chilli-1.2.2]$
Why did you apply it on the file coova-chilli.spec.in? It was meant to
be applied to the complete source directory. As you are creating an
RPM, the cleanest way would be to register the patch in the spec file
before running rpmbuild, see  on how to do this. If you want to
apply it to the source directory directly and run configure/make
yourself, please have a look on how Hardy did it (to whom I sent the
same patch). Please note that this is not exactly a coova-chilli issue
When proceeding, please use the fixed patch Daniel has posted a short
while ago. Mine apparently did not work correctly with version 1.2.2.
More information about the Chilli