[GRASS-dev] Re: [GRASS GIS] #1178: WinGrass: g.extension - problem with path to $GISBASE

GRASS GIS trac at osgeo.org
Sun Sep 26 10:25:00 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 glynn):

 Replying to [comment:3 hellik]:

 > with added -x in the first line:
 >
 {{{
 Makefile:12: c:/Program: No such file or directory
 Makefile:12: Files/GRASS-64-SVN/include/Make/Module.make: No such file or
 directory
 }}}

 Makefiles can't handle spaces in filenames, and this is rather fundamental
 to the way make works. Spaces separate tokens, and there isn't any
 (documented) mechanism to quote spaces.

 If the variables were only used in commands, you could quote them, but
 that won't work elsewhere (e.g. "include" statements or dependencies).

 The only workaround I know is to use 8.3 names (e.g. "/c/progra~1" rather
 than "/c/Program Files"), but I don't know how to perform that conversion
 from within a script (from C, you can use GetShortPathName()).

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1178#comment:6>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list