[GRASS-dev] Re: [GRASS GIS] #1271: osgeo4w patch update

GRASS GIS trac at osgeo.org
Fri Mar 4 16:27:50 EST 2011


#1271: osgeo4w patch update
-------------------------+--------------------------------------------------
 Reporter:  jef          |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.1                    
Component:  Default      |     Version:  svn-releasebranch64      
 Keywords:  wingrass     |    Platform:  MSWindows Vista          
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by hellik):

 Replying to [comment:14 hellik]:

 > from dev-ML
 > http://lists.osgeo.org/pipermail/grass-dev/2011-March/053570.html
 {{{
 The original osgeo4w package puts these files into `c:\osgeo4w\bin`
 (btw including some extra tmpl files, which is not needed). I can't
 see any good point why to create some extra directory which is
 moreover not included in the path by default. So I would suggest to
 forget about `c:\osgeo4w\apps\grass\bin`.
 }}}

 I first compiled grass64svn and grass64.bat is written to c:\osgeo4w\bin,
 which
 points to following:

 {{{
 @echo off
 call C:\OSGeo4W\bin\o4w_env.bat
 "%WINGISBASE%"\etc\init.bat %*
 }}}

 but after compiling grass65, grass65.bat is also written to
 c:\osgeo4w\bin, which points also to following:

 {{{
 @echo off
 call C:\OSGeo4W\bin\o4w_env.bat
 "%WINGISBASE%"\etc\init.bat %*
 }}}

 and the content of o4w_env.bat points to grass65 now

 {{{
 set GISBASE=%OSGEO4W_ROOT%\apps\grass\grass-6.5.svn
 set WINGISBASE=%OSGEO4W_ROOT%\apps\grass\grass-6.5.svn
 set GRASS_SH=%OSGEO4W_ROOT%\apps\msys\bin\sh.exe
 set GRASS_WISH=%OSGEO4W_ROOT%\bin\wish.exe
 set GRASS_PYTHON=%OSGEO4W_ROOT%\bin\python.exe
 set GRASS_PROJSHARE=%OSGEO4W_ROOT%\share\proj
 set GRASS_HTML_BROWSER=%PROGRAMFILES%\Internet Explorer\iexplore.exe
 set PATH=%OSGEO4W_ROOT%\apps\grass\grass-6.5.svn\bin;%PATH%
 }}}

 so grass64 and grass65 can't coexist at the moment in the osgeo4w-stack.

 Helmut

 btw

 {{{
 GRASS_HTML_BROWSER=%PROGRAMFILES%\Internet Explorer\iexplore.exe
 }}}

 should be set to

 {{{
 GRASS_HTML_BROWSER=explorer
 }}}

 that default internetbrowser of the system is invoked (the same as that
 the nsis-installer does).

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1271#comment:15>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list