[GRASS-dev] Re: [GRASS GIS] #1178: WinGrass: g.extension - problem
with path to $GISBASE
GRASS GIS
trac at osgeo.org
Sun Sep 26 06:18:54 EDT 2010
#1178: WinGrass: g.extension - problem with path to $GISBASE
---------------------------------------------------------------+------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.1
Component: Installation | Version: svn-releasebranch64
Keywords: wingrass, g.extension, path, installation, addons | Platform: MSWindows Vista
Cpu: x86-32 |
---------------------------------------------------------------+------------
Comment(by hellik):
Replying to [comment:4 hellik]:
>
> compiling is starting, but a lot of errors (maybe r.stream.order isn't
for Grass64?)
>
and I've tried also the example from the manual
{{{
GRASS 6.4> g.extension extension=i.landsat.toar
which: wget: unknown command
Fetching <i.landsat.toar> from GRASS-Addons SVN (be patient)...
A i.landsat.toar\landsat_set.c
A i.landsat.toar\local_proto.h
A i.landsat.toar\main.c
A i.landsat.toar\description.html
A i.landsat.toar\landsat.c
A i.landsat.toar\earth_sun.c
A i.landsat.toar\landsat.h
A i.landsat.toar\landsat_met.c
A i.landsat.toar\Makefile
A i.landsat.toar\earth_sun.h
Checked out revision 43689.
Compiling <i.landsat.toar>...
test -d OBJ.i686-pc-mingw32 || mkdir -p OBJ.i686-pc-mingw32
gcc -I/c/osgeo4w/usr/src/grass64svn/dist.i686-pc-mingw32/include
-I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include -g -O2
-I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include
-DPACKAGE=\""grassmods"\" -I/c/osgeo4w/usr/src/grass64svn/dist.i686-pc-
mingw32/include -o OBJ.i686-pc-mingw32/earth_sun.o -c earth_sun.c
gcc -I/c/osgeo4w/usr/src/grass64svn/dist.i686-pc-mingw32/include
-I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include -g -O2
-I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include
-DPACKAGE=\""grassmods"\" -I/c/osgeo4w/usr/src/grass64svn/dist.i686-pc-
mingw32/include -o OBJ.i686-pc-mingw32/landsat.o -c landsat.c
landsat.c:4:23: grass/gis.h: No such file or directory
make: *** [OBJ.i686-pc-mingw32/landsat.o] Error 1
FEHLER: Compilation failed, sorry. Please check above error messages.
rm: cannot remove directory
`C:\\gisdata\\grassdata/wgs84gc/user1/.tmp/3116.0/i.landsat.toar':
Permission denied
GRASS 6.4>
}}}
ah, maybe it looks for the includes in
{{{
C:\OSGeo4W\usr\src\grass64svn\dist.i686-pc-mingw32\include
}}}
as instead in?
{{{
C:\OSGeo4W\apps\grass\grass-6.4.1svn\include
}}}
the first one doesn't exist after a make distclean.
Helmut
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1178#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list