[GRASS-dev] [GRASS-windows] RE: Compiling WINGrass

Markus Neteler neteler at osgeo.org
Mon Nov 14 16:19:46 EST 2011


On Mon, Nov 14, 2011 at 9:14 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
> Hamish wrote:
...
> 3.80 treats the "|" as the name of a dependency; it doesn't exist, so
> it attempts to re-make it, fails to find a rule, and reports an error.
>
> For 6.x, the above rule should have been written as:
>
>        $(GDIR):
>                $(MAKE) $(PYDIR)
>                $(MKDIR) $@
>
> This works with earlier versions of make, at the expense of adding
> some "noise" to the output and executing additional commands.
>
> Such rules invariably arise from back-porting Makefiles verbatim from
> 7.0, which requires make 3.81 (for more reasons than just order-only
> dependencies).

Older Makefile version hopefully restored:

http://trac.osgeo.org/grass/changeset/49249
http://trac.osgeo.org/grass/changeset/49250

Please check if I got it right. With make 3.81 it compiles.

Markus


More information about the grass-dev mailing list