I just tried g.extension for the first time in awhile in GRASS 6.4.3
release branch.
It is broken on the Mac at least. I've seen notices that it is broken on
Windows. This may be the same problem. But I'm assuming not for the
moment. Here the error. GRASS_ADDON_PATH is correct. The problem is
somewhere else. So far, I've tried r.xtent, r.out.kml, and r.prominence. I
KNOW that r.prominence used to compile under GRASS 6 at least in the past
couple years. g.extension has always been on the buggy side with the mac.
But it was working more or less the last time I tried it a year or so
back.
Here is the error for r.xtent
{{{
(Sun Feb 24 14:32:13 2013)
g.extension.py extension=r.xtent operation=add
WARNING: GRASS_ADDON_PATH has more items, using first defined -
'/Users/cmbarton/Library/GRASS/6.4/Modules/bin'
Fetching <r.xtent> from GRASS-Addons SVN (be patient)...
Compiling...
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
e/Grass.make:423: warning: overriding commands for target `/
Users/Shared/grassdata/Global_latlon/Spain_sites_SAA2012/.tm
p/Michaels-MacBook-Air.local/37744.0/r.xtent/bin'
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
e/Grass.make:414: warning: ignoring old commands for target
`/Users/Shared/grassdata/Global_latlon/Spain_sites_SAA2012/.
tmp/Michaels-MacBook-Air.local/37744.0/r.xtent/bin'
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
e/Module.make:25: warning: overriding commands for target
`install'
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
e/Rules.make:99: warning: ignoring old commands for target
`install'
at_exit_funcs.c:30:23: error: grass/gis.h: No such file or
directory
at_exit_funcs.c:31:27: error: grass/glocale.h: No such file
or directory
at_exit_funcs.c:30:23: error: grass/gis.h: No such file or
directory
at_exit_funcs.c:31:27: error: grass/glocale.h: No such file
or directory
lipo: can't figure out the architecture type of: /var/folder
s/65/pp9w7z0d1mj502pj8hhl7vfw0000gn/T//ccw30r7o.out
make: *** [OBJ.x86_64-apple-darwin12.2.0/at_exit_funcs.o]
Error 1
ERROR: Compilation failed, sorry. Please check above error messages.
(Sun Feb 24 14:32:21 2013) Command finished (8 sec)
}}}
Replying to [comment:2 cmbarton]:
[...]
>I've seen notices that it is broken on Windows. This may be the same
problem. But I'm assuming not for the moment.
in windows precompilded binaries/scripts are used.