[GRASS-dev] [GRASS GIS] #854: g.extension does not work on a Mac

GRASS GIS trac at osgeo.org
Sat May 25 09:25:03 PDT 2013


#854: g.extension does not work on a Mac
---------------------------------+------------------------------------------
 Reporter:  cmbarton             |       Owner:  grass-dev@…              
     Type:  defect               |      Status:  new                      
 Priority:  normal               |   Milestone:  6.4.3                    
Component:  Addons               |     Version:  svn-releasebranch64      
 Keywords:  g.extension, addons  |    Platform:  All                      
      Cpu:  All                  |  
---------------------------------+------------------------------------------

Comment(by kyngchaos):

 Hmmm, there is one oddity here.  letting it use the default prefix
 $GRASS_ADDON_PATH, which is the user ~/Library/GRASS/6.4/Modules/bin, the
 docs get put in the bin folder, ie ..../bin/docs/*

 But if I manually set the prefix=~/Library/GRASS/6.4/Modules, it correctly
 puts both the executable in Modules/bin and the docs in Modules/docs.  So
 if g.extension doesn't see a true prefix path, and it is a "bin" folder,
 maybe it should drop back one folder and check again?

 And I just tried a script extension - it installs in Modules/scripts
 (manually set prefix).  I don't have scripts in the Mac GRASS_ADDONS_PATH,
 and the Mac user menu building script doesn't check scripts to build the
 GUI addons menu.  More updates needed, stay tuned...

 P.S.  I tested g.extension from the Terminal, not from the GUI.

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



More information about the grass-dev mailing list