[GRASS-dev] Makefile problem for trunk on WinGrass

Glynn Clements glynn at gclements.plus.com
Wed Apr 7 01:54:46 EDT 2010


Colin (Nielsen) Wren wrote:

> I took a look and it seems to be a problem in the Makefile. I was
> running it fine, but I think only because of an old grass70 in the
> osgeo4w/apps/grass/bin folder. Instead they're being dropped in the
> osgeo4w/bin/bin folder (which shouldn't exist).

> sed -e "s#^GISBASE.*#GISBASE=/OSGeo4W/apps/grass/grass-7.0.svn#" /src/trunk/bin.i686-pc-mingw32/grass70.sh > /OSGeo4W/bin/bin/grass70.sh
> sed -e 's#^gisbase = ".*"#gisbase = "/OSGeo4W/apps/grass/grass-7.0.svn"#' /src/trunk/bin.i686-pc-mingw32/grass70 > /OSGeo4W/bin/bin/grass70
> chmod a+x /OSGeo4W/bin/bin/grass70
> sed -e "s#WINGISBASE=.*#WINGISBASE=/OSGeo4W/apps/grass/grass-7.0.svn#" /src/trunk/bin.i686-pc-mingw32/grass70.bat > /OSGeo4W/bin/bin/grass70.bat
> chmod a+x /OSGeo4W/bin/bin/grass70.bat

> I don't know how, but I assume someone can fix this.

The above indicates that UNIX_BIN is "/OSGeo4W/bin/bin". This is set
by the --bindir= configure option.

Also, your source is out of date; Install.make has changed since.

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


More information about the grass-dev mailing list