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

GRASS GIS trac at osgeo.org
Sun Jan 3 16:54:41 EST 2010


#854: g.extension does not work on a Mac (probably not on Windows either
--------------------------------+-------------------------------------------
 Reporter:  cmbarton            |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect              |      Status:  new                      
 Priority:  normal              |   Milestone:  7.0.0                    
Component:  Installation        |     Version:  svn-trunk                
 Keywords:  extensions, addons  |    Platform:  All                      
      Cpu:  OSX/Intel           |  
--------------------------------+-------------------------------------------
 g.extension does not work on a Mac. It seems to assume that GRASS is being
 run from a source directory and tries to drop the files into the grass.app
 rather than the source. So it gets a no make target error.

 It needs to ask where the source directory is located, put the source
 files there, and run make, followed by make install.

 The manual should also clearly indicate that a successfully compiled GRASS
 source distribution is required in order for this to work.

 The error is below using v.strahler as an example:


 {{{
 g.extension extension=v.strahler svnurl=https://svn.osgeo.org/grass/grass-
 addons/ prefix=/Library/Application\ Support/GRASS/7.0
 menuitem=Vector;Stream order
 '/Library/Application\ Support/GRASS/7.0' created
 Fetching 'v.strahler' from GRASS-Addons SVN (be patient)...
 A    v.strahler/v.mainchannel
 A    v.strahler/v.mainchannel.html
 A    v.strahler/forest2tree.c
 A    v.strahler/description.html
 A    v.strahler/r.strahler.sh
 A    v.strahler/helper.c
 A    v.strahler/r.strahler.sh.html
 A    v.strahler/images
 A    v.strahler/images/at_rbroscoe.jpg
 A    v.strahler/images/Qgisout_vstrahler.jpg
 A    v.strahler/images/thrVScell.jpg
 A    v.strahler/images/wt_rbroscoe.jpg
 A    v.strahler/images/input_vstrahler.jpg
 A    v.strahler/images/menotre.jpg
 A    v.strahler/images/output_vstrahler.jpg
 A    v.strahler/images/lr_rbroscoe.jpg
 A    v.strahler/main.c
 A    v.strahler/r.broscoe.sh
 A    v.strahler/strahler.c
 A    v.strahler/r.broscoe.sh.html
 A    v.strahler/documentation
 A    v.strahler/documentation/r.broscoe_flowchart.dia
 A    v.strahler/documentation/v.strahler_flowchart.jpeg
 A    v.strahler/documentation/r.broscoe_flowchart.jpeg
 A    v.strahler/documentation/v.strahler_flowchart.dia
 A    v.strahler/strahler.h
 A    v.strahler/write.c
 A    v.strahler/Makefile
 Checked out revision 40210.
 Compiling 'v.strahler'...
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: overriding commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: ignoring old commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: overriding commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/bin.i386-apple-
 darwin10.2.0'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: ignoring old commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/bin.i386-apple-
 darwin10.2.0'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: overriding commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/include/grass'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: ignoring old commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/include/grass'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: overriding commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/lib'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: ignoring old commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/lib'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: overriding commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/bin'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: ignoring old commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/bin'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: overriding commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/etc'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: ignoring old commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/etc'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: overriding commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/driver'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: ignoring old commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/driver'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: overriding commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/driver/db'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: ignoring old commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/driver/db'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: overriding commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/fonts'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: ignoring old commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/fonts'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: overriding commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/docs'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: ignoring old commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/docs'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: overriding commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/docs/html'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: ignoring old commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/docs/html'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: overriding commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/man'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: ignoring old commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/man'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: overriding commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/man/man1'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: ignoring old commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/man/man1'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: overriding commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/tools'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:16: warning: ignoring old commands for target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/tools'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:19: warning: overriding commands for target
 `OBJ.i386-apple-darwin10.2.0'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:19: warning: ignoring old commands for target
 `OBJ.i386-apple-darwin10.2.0'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:41: warning: overriding commands for target
 `clean'
 /Applications/Grass/GRASS-7.0.app/Contents/MacOS/include/Mak
 e/Rules.make:41: warning: ignoring old commands for target
 `clean'
 make: *** No rule to make target
 `/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.2.0/docs/html/.html', needed by `html'.  Stop.
 ERROR: Compilation failed, sorry. Please check above error messages.
 (Sun Jan  3 14:46:24 2010) Command finished (20 sec)

 }}}

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


More information about the grass-dev mailing list