[GRASS-user] Installing addon's using g.extension on Mac OSX 10.7.5?

nmuesche mueller-scheessel at gmx.net
Sun Feb 23 12:57:01 PST 2014


I am not sure if my issue is related in any way to that of the original post
but at least it seems similar.

I am trying to add a non-standard grass module to my mac-installation (grass
6.4 by kyngchaos, Mac OS 10.9.1). The module in question is not listed in
g.extension so this does not seem to be an option. Therefore, I am trying to
compile it from scratch; from my little knowledge, the makefile seems quite
standard. Still, after some tinkering which let me to add the paths to
MODULE_TOPDIR (the original "../.." failed) and the newest SDKs, I got the
error message quoted below. it is obviously path-related but I have no idea
how to resolve it.
Any hints are appreciated!

Nils


$ make MODULE_TOPDIR=/Applications/GRASS-6.4.app/Contents/MacOS
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Module.make:25:
warning: overriding commands for target `install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Rules.make:90:
warning: ignoring old commands for target `install'
gcc
-I/Users/Shared/src/GRASS/grass-6.4.2-snow/dist.i386-apple-darwin11.4.0/include 
-Os -fexceptions   -arch i386 -arch x86_64 -isysroot
/Developer/SDKs/MacOSX10.6.sdk   -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk  
-DPACKAGE=\""grassmods"\" 
-I/Users/Shared/src/GRASS/grass-6.4.2-snow/dist.i386-apple-darwin11.4.0/include
-o OBJ.i386-apple-darwin11.4.0/cell_funcs.o -c cell_funcs.c
cell_funcs.c:22:10: fatal error: 'grass/gis.h' file not found
#include <grass/gis.h>
         ^
1 error generated.
make: *** [OBJ.i386-apple-darwin11.4.0/cell_funcs.o] Error 1



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Installing-addon-s-using-g-extension-on-Mac-OSX-10-7-5-tp5101308p5105379.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list