On Wed, 21 Jul 2021, Michael Stefaniuc wrote:

> Hello,
>
> to configure coccinelle I'm using:
> ./configure --prefix=/usr/local/packages/coccinelle-`git describe`
> After make install I just link the binaries to /usr/bin/.
>
> Now I'm getting following warning when running spatch:
> warning: Can't find default iso file:
> /usr/local/packages/coccinelle-1.1.0-50-g9e111ad5/bin/lib/coccinelle/standard.iso
>
> standard.iso is searched now under $prefix/bin/lib instead of the correct
> $prefix/lib.
>
> Reverting this commit fixes the issue for me:

Thanks for the report.  Maybe Thierry can find a better way to address the
issue.

julia

>
> commit 5016596228804588c96f0059818dd937e636d7ab
> Author: Thierry Martinez <thierry.marti...@inria.fr>
> Date:   Tue May 25 14:26:18 2021 +0200
>
>     Fix GH#259: Use @libdir@ for path, substituting ${exec_prefix}
>
>     Substitution is performed in OCaml since it enables tool relocation.
>     Looking for "${exec_dir}/standard.iso" first is kept since it is the
>     expected behavior for running the tool without installing it.
>
>
>
> bye
>       michael
> _______________________________________________
> Cocci mailing list
> Cocci@systeme.lip6.fr
> https://systeme.lip6.fr/mailman/listinfo/cocci
>
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to