#1178: WinGrass: g.extension - problem with path to $GISBASE
---------------------------------------------------------------+------------
 Reporter:  hellik                                             |       Owner:  
grass-...@…              
     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>

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to