[GRASS-user] Compiling GRAS on Windows- Log and error

Luisa Peña luisapena1979 at gmail.com
Mon Jun 14 11:44:54 EDT 2010


Hi

>> In case of errors please change into the directory with error and
run 'make'.
>Please do this.
I have done that and I got:
make -C r.example MODULE_TOPDIR=/c/osgeo4w/apps/grass/grass-6.4.0svn
make: Entering directory
`/c/osgeo4w/download/GRASS_snapshot/grass-6.4.svn_src_snapshot_2010_06_12/raster/r.example'
Makefile:10: /c/osgeo4w/apps/grass/grass-6.4.0svn/include/Make/Module.make:
No such file or directory
make: *** No rule to make target
`/c/osgeo4w/apps/grass/grass-6.4.0svn/include/Make/Module.make'.  Stop.
make: Leaving directory
`/c/osgeo4w/download/GRASS_snapshot/grass-6.4.svn_src_snapshot_2010_06_12/raster/r.example'

But then I installed grass-dev lib (from OSGEO4W), following a tip from
Antonio, and I got a bit different result:
make: Entering directory
`/c/osgeo4w/download/GRASS_snapshot/grass-6.4.svn_src_snapshot_2010_06_12/raster/r.example'
make: stat:/d/progs/c/grass64/bin.i686-pc-mingw32: no medium
mkdir -p /d/progs/c/grass64/bin.i686-pc-mingw32
mkdir: `/d/progs/c/grass64/bin.i686-pc-mingw32': no medium
make: *** [/d/progs/c/grass64/bin.i686-pc-mingw32] Error 1
make: Leaving directory
`/c/osgeo4w/download/GRASS_snapshot/grass-6.4.svn_src_snapshot_2010_06_12/raster/r.example'

1- Was it necessary to install gdal-dev lib? (because it was not listed in
the Compiling in MS-Windows wiki)
2- I believe that the problem now is in include/Make/Platform definitions
right?



2010/6/14 Glynn Clements <glynn at gclements.plus.com>

>
> Luisa Peña wrote:
>
> > Errors in:
> >
> >
> /c/osgeo4w/download/GRASS_snapshot/grass-6.4.svn_src_snapshot_2010_06_12/display/d.grid
> >
> /c/osgeo4w/download/GRASS_snapshot/grass-6.4.svn_src_snapshot_2010_06_12/display/d.where
>
> This suggests a problem with PROJ.
>
> > In case of errors please change into the directory with error and run
> > 'make'.
>
> Please do this.
>
> > And regarding the r.example I got this:
> >
> `/c/osgeo4w/download/GRASS_snapshot/grass-6.4.svn_src_snapshot_2010_06_12/raster/r.external'
> > r.example
> > makefile:10: ../../../include/Make/Module.make: No such file or directory
>
> You need to adjust MODULE_TOPDIR in r.example/Makefile. Normally,
> r.example is at docs/raster/r.example (3 levels deep). If you move it
> to raster/r.example (2 levels deep), the relative path to the top of
> the source tree has changed, so MODULE_TOPDIR (which is used to find
> other files within the source tree) has to be changed.
>
> > - Shouldn't I have wxwidgets ON as well as python?
>
> It's only needed for modules which use wxWidgets from C/C++, e.g. the
> wxGUI vdigit module. This doesn't work on Windows at present. It isn't
> needed for the wxPython GUI; that gets built and installed regardless
> of which configure switches are used (obviously, you need Python and
> wxPython in order to actually run the GUI).
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100614/c0e9ce8a/attachment-0001.html


More information about the grass-user mailing list