Send grass-windows mailing list submissions to grass-windows@lists.osgeo.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.osgeo.org/mailman/listinfo/grass-windows or, via email, send a message with subject or body 'help' to grass-windows-requ...@lists.osgeo.org You can reach the person managing the list at grass-windows-ow...@lists.osgeo.org When replying, please edit your Subject line so it is more specific than "Re: Contents of grass-windows digest..." Today's Topics: 1. Re: GRASS add-ons for Windows users (Markus Neteler) 2. Re: GRASS add-ons for Windows users (Ant?nio Rocha) 3. Re: GRASS add-ons for Windows users (Olivier Vannier) ---------------------------------------------------------------------- Message: 1 Date: Sun, 18 Apr 2010 21:52:18 +0200 From: Markus Neteler <nete...@osgeo.org> Subject: Re: [GRASS-windows] GRASS add-ons for Windows users To: Olivier Vannier <olivier.vann...@hmg.inpg.fr> Cc: Ant?nio Rocha <antonio.ro...@deimos.com.pt>, grass-windows@lists.osgeo.org Message-ID: <r2k86782b611004181252u6aa09e66uc117ec98bb989...@mail.gmail.com> Content-Type: text/plain; charset=windows-1252 On Tue, Apr 13, 2010 at 4:32 PM, Olivier Vannier <olivier.vann...@hmg.inpg.fr> wrote: > Hi all, > > I'm quite new in using GRASS, and I need to install some GRASS add-ons > (r.stream.*). I'm afraid it will not be easy for the poor winGRASS user I am > ! I'm using GRASS 6.4 (installed with OSGeo4w), and I recently installed > GRASS 7.0 "standalone" (I even made some tests with GRASS 6.5). All this on > Windows XP Pro (32 bit). > > Since my compilation attempts using MSys failed, I looked this discussion > archive. I read Antonio Rocha's previous messages, espacially the one on > compiling r.example with GRASS 6.4, but I didn't get the ending of the > discussion : Did you finally achieve your quest Antonio ? If yes I'm really > interested in following you in the compilation adventure ! [did he post in this list? Perhaps he's not subscribed here] > If no, what is the solution for Windows users willing to use add-ons ? I > thought that the new module g.extension could help us, but : > > - It is currently not yet operationnal on GRASS 7.0 ? (nothing occurs when > typing "g.extension" in the command line) ; It is not quite operational for Windows in 6.x. In GRASS 7, it has been rewritten in Python (I still vote for backport) with the hope that it is portable. > - It leads to the following error message on GRASS 6.5 : > > g.extension extension=r.stream.basins > svnurl=https://svn.osgeo.org/grass/grass-addons/ prefix=C:/GRASS-65-SVN/ > which: wget: unknown command > Fetching <r.stream.basins> from GRASS-Addons SVN (be patient)... > A r.stream.basins\main.c > A r.stream.basins\description.html > A r.stream.basins\global.h > A r.stream.basins\catchment.c > A r.stream.basins\io.c > A r.stream.basins\Makefile > Rvision 41835 extraite. > mkdir -p /osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32 > Compiling r.stream.basins... > C:/GRASS-65-SVN/include/Make/Module.make:25: warning: > overriding commands for target `install' > C:/GRASS-65-SVN/include/Make/Rules.make:82: warning: > ignoring old commands for target `install' > mkdir -p /osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/include/grass > mkdir -p /osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/lib > mkdir -p /osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/bin > mkdir -p /osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc > mkdir -p /osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/driver > mkdir -p /osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/driver/db > mkdir -p /osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/fonts > test -d OBJ.i686-pc-mingw32 || mkdir -p OBJ.i686-pc-mingw32 > gcc.exe: installation problem, cannot exec `cc1': No such > file or directory Using my preferred search engine, I found quite some results. Perhaps you can take a look, it looks like a (local) MinGW problem to be solved before trying to compile Addons. ... > Is the problem fixable ? Or should I better forget about installing GRASS > add-ons on my Windows machine ? Please don't (yet) :-) Markus ------------------------------ Message: 2 Date: Mon, 19 Apr 2010 09:30:40 +0100 From: Ant?nio Rocha <antonio.ro...@deimos.com.pt> Subject: Re: [GRASS-windows] GRASS add-ons for Windows users To: Markus Neteler <nete...@osgeo.org> Cc: grass-windows@lists.osgeo.org Message-ID: <4bcc14b0.4080...@deimos.com.pt> Content-Type: text/plain; charset=windows-1252; format=flowed Hi. yes I finally managed to get to that. I just had to update grass.make and platform.make in order to point to GRASS installation (as far as I remember). Markus Neteler wrote: > On Tue, Apr 13, 2010 at 4:32 PM, Olivier Vannier > <olivier.vann...@hmg.inpg.fr> wrote: > >> Hi all, >> >> I'm quite new in using GRASS, and I need to install some GRASS add-ons >> (r.stream.*). I'm afraid it will not be easy for the poor winGRASS user I am >> ! I'm using GRASS 6.4 (installed with OSGeo4w), and I recently installed >> GRASS 7.0 "standalone" (I even made some tests with GRASS 6.5). All this on >> Windows XP Pro (32 bit). >> >> Since my compilation attempts using MSys failed, I looked this discussion >> archive. I read Antonio Rocha's previous messages, espacially the one on >> compiling r.example with GRASS 6.4, but I didn't get the ending of the >> discussion : Did you finally achieve your quest Antonio ? If yes I'm really >> interested in following you in the compilation adventure ! >> > [did he post in this list? Perhaps he's not subscribed here] > > __________ Information from ESET NOD32 Antivirus, version of virus signature database 5040 (20100419) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ------------------------------ Message: 3 Date: Mon, 19 Apr 2010 11:05:28 +0200 From: Olivier Vannier <olivier.vann...@hmg.inpg.fr> Subject: Re: [GRASS-windows] GRASS add-ons for Windows users To: Markus Neteler <nete...@osgeo.org> Cc: Ant?nio Rocha <antonio.ro...@deimos.com.pt>, grass-windows@lists.osgeo.org Message-ID: <4bcc1cd8.3050...@hmg.inpg.fr> Content-Type: text/plain; charset=windows-1252; format=flowed Hi all, Thanks Markus and Antonio for your answers. I finally succeeded in installing the r.stream.basins addon I needed. I followed, step-by-step, the advices on how to install and configure MinGW in order to compile Grass-6.4 on my windows system (described here : http://trac.osgeo.org/grass/wiki/CompileOnWindows). Then the problem I had is that some libraries needed by the addon where missing in my own-compiled Grass 6.4 /lib/ folder. The solution I found was to copy and paste theses libraries (libgrass_gis, libgrass_vect, libgrass_dig2, libgrass_dbmibase, libgrass_dbmiclient) from the /extralib/ folder of another precompiled winGRASS 6.4 I had on my machine. Not so clean, but it works, and that's the main thing ! Thanks again to all the development team. Olivier Markus Neteler a écrit : > On Tue, Apr 13, 2010 at 4:32 PM, Olivier Vannier > <olivier.vann...@hmg.inpg.fr> wrote: > >> Hi all, >> >> I'm quite new in using GRASS, and I need to install some GRASS add-ons >> (r.stream.*). I'm afraid it will not be easy for the poor winGRASS user I am >> ! I'm using GRASS 6.4 (installed with OSGeo4w), and I recently installed >> GRASS 7.0 "standalone" (I even made some tests with GRASS 6.5). All this on >> Windows XP Pro (32 bit). >> >> Since my compilation attempts using MSys failed, I looked this discussion >> archive. I read Antonio Rocha's previous messages, espacially the one on >> compiling r.example with GRASS 6.4, but I didn't get the ending of the >> discussion : Did you finally achieve your quest Antonio ? If yes I'm really >> interested in following you in the compilation adventure ! >> > > [did he post in this list? Perhaps he's not subscribed here] > > >> If no, what is the solution for Windows users willing to use add-ons ? I >> thought that the new module g.extension could help us, but : >> >> - It is currently not yet operationnal on GRASS 7.0 ? (nothing occurs when >> typing "g.extension" in the command line) ; >> > > It is not quite operational for Windows in 6.x. In GRASS 7, it has been > rewritten in Python (I still vote for backport) with the hope that it is > portable. > > >> - It leads to the following error message on GRASS 6.5 : >> >> g.extension extension=r.stream.basins >> svnurl=https://svn.osgeo.org/grass/grass-addons/ prefix=C:/GRASS-65-SVN/ >> which: wget: unknown command >> Fetching <r.stream.basins> from GRASS-Addons SVN (be patient)... >> A r.stream.basins\main.c >> A r.stream.basins\description.html >> A r.stream.basins\global.h >> A r.stream.basins\catchment.c >> A r.stream.basins\io.c >> A r.stream.basins\Makefile >> Rvision 41835 extraite. >> mkdir -p /osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32 >> Compiling r.stream.basins... >> C:/GRASS-65-SVN/include/Make/Module.make:25: warning: >> overriding commands for target `install' >> C:/GRASS-65-SVN/include/Make/Rules.make:82: warning: >> ignoring old commands for target `install' >> mkdir -p /osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/include/grass >> mkdir -p /osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/lib >> mkdir -p /osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/bin >> mkdir -p /osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc >> mkdir -p /osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/driver >> mkdir -p /osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/driver/db >> mkdir -p /osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/fonts >> test -d OBJ.i686-pc-mingw32 || mkdir -p OBJ.i686-pc-mingw32 >> gcc.exe: installation problem, cannot exec `cc1': No such >> file or directory >> > > Using my preferred search engine, I found quite some results. > Perhaps you can take a look, it looks like a (local) MinGW problem > to be solved before trying to compile Addons. > > ... > >> Is the problem fixable ? Or should I better forget about installing GRASS >> add-ons on my Windows machine ? >> > > Please don't (yet) :-) > > Markus > ------------------------------ _______________________________________________ grass-windows mailing list grass-windows@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-windows End of grass-windows Digest, Vol 44, Issue 2 ********************************************