[GRASS-dev] compiling errors - grass65svn compiled in the osgeo4w-stack

Glynn Clements glynn at gclements.plus.com
Thu Jun 2 17:46:24 EDT 2011


Helmut Kudrnovsky wrote:

> I've compiled grass65svn in the osgeo4w-stack with r46521
> 
> there are following errors:

> syringia at NADA /c/osgeo4w/usr/src/grass6_devel/lib/python
> $ make
> make: *** No rule to make target `|', needed by `/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/python/grass/script/core.py'.  Stop.

What does "make --version" say?

A rule of the form:

	target: ... | ...

is an order-only dependency, which requires GNU make 3.81. In 6.x,
this syntax is normally conditional upon "ifneq ($(BROKEN_MAKE),)". It
appears that someone back-ported from 7.0 (where GNU make 3.81 is a
requirement) without changing this.

> make[1]: Entering directory `/c/osgeo4w/usr/src/grass6_devel/gui/wxpython/scripts'
> make[1]: *** No rule to make target `/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/wxpython/scripts/d.rast3d.py'.  Stop.

That should be handled by this rule in gui/wxpython/scripts/Makefile:

	$(SCRIPTDIR)/%.py: %.py | $(SCRIPTDIR)
		$(INSTALL) $< $@

But that rule might be rejected due to the "|" issue.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list