[GRASS-dev] html error (access file not found) on compilation of i.landsat.toar in v7

Glynn Clements glynn at gclements.plus.com
Thu Oct 14 02:59:56 EDT 2010


Yann Chemin wrote:

> ERROR: LOCATION <<
>        /home/icwater/grass_trunk/dist.x86_64-unknown-linux-gnu/demolocation
>        >> not available

> What is the reason?

I suspect that the installed $GISBASE/demolocation/.grassrc70 file has
GISDBASE pointing to the source tree rather than to the installed
path.

I think that the real-install target in Install.make needs something
like:

	-sed 's#$(GISBASE)#$(INST_DIR)#g' \
		$(GISBASE)/demolocation/.grassrc$(GRASS_VERSION_MAJOR)$(GRASS_VERSION_MINOR) \
		> $(INST_DIR)/demolocation/.grassrc$(GRASS_VERSION_MAJOR)$(GRASS_VERSION_MINOR)

Similar to what is already done for etc/fontcap. We should probably be
doing something similar for Platform.make, although that can be
overridden on the command line when running make.

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


More information about the grass-dev mailing list