Hi, I am running os x snow leopard (10.6.7). I have tried to install an extension in GRASS 6.4.1 (2011), but it throws a compilation error. I have searched the lists, with no luck, could anyone help me with this problem. Thanks Jason
g.extension extension=i.landsat.toar Fetching <i.landsat.toar> from GRASS-Addons SVN (be patient)... A i.landsat.toar/landsat_set.c A i.landsat.toar/local_proto.h A i.landsat.toar/main.c A i.landsat.toar/description.html A i.landsat.toar/landsat.c A i.landsat.toar/earth_sun.c A i.landsat.toar/landsat.h A i.landsat.toar/landsat_met.c A i.landsat.toar/Makefile A i.landsat.toar/earth_sun.h U i.landsat.toar Checked out revision 46186. Compiling <i.landsat.toar>... test -d OBJ.i386-apple-darwin10.7.0 || mkdir -p OBJ.i386-apple-darwin10.7.0 gcc -I/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/include -Os -fexceptions -arch i386 -arch x86_64 -DPACKAGE=\""grassmods"\" -I/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/include -o OBJ.i386-apple-darwin10.7.0/earth_sun.o -c earth_sun.c gcc -I/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/include -Os -fexceptions -arch i386 -arch x86_64 -DPACKAGE=\""grassmods"\" -I/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/include -o OBJ.i386-apple-darwin10.7.0/landsat.o -c landsat.c landsat.c:4:23: error: grass/gis.h: No such file or directory landsat.c:4:23: error: grass/gis.h: No such file or directory lipo: can't figure out the architecture type of: /Users/jasonlessels/git/muttama/gis/muttama/muttama/.tmp/macintosh-3.localdomain/29713.0/ccdiXykN.out make: *** [OBJ.i386-apple-darwin10.7.0/landsat.o] Error 1 ERROR: Compilation failed, sorry. Please check above error messages._______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user