[GRASS-user] Geomorphons and extension manager

Robert Andrew Brown brown782 at purdue.edu
Tue Feb 26 09:20:42 PST 2013


To whom it may concern,

I am trying to use extension manager in grass to install geomrphons. However, I am having trouble with the extension manager(error below). I emailed the geomorphon developer Jarek Jasiewicz(See Below) and he suggest I contact the GRASS-Users forum.

Please advise,

-Robert Brown


> From: JASIEWICZ Jarosław <jarekj at amu.edu.pl>
> Subject: Re: Geomorphons
> Date: February 26, 2013 11:56:20 AM EST
> To: brown782 at purdue.edu
> 
> On 02/26/2013 05:21 PM, brown782 at purdue.edu wrote:
>> Dear Sir,
>> 
>> I use grass on my Mac OS X 10.8.2. I have been trying to compile grass to install the add-on Geomorphons. However, it is overwhelming to compile grass from source code as I have very little experience compiling programs. When I saw that your Geomorphons algorithm was part of the grass 7.0 add-ons I was pleased and tried to use the extension manager to add it to my grass add-on repository, however, I get an several errors which I have posted below. Any Suggestions?
>> #####################
>> g.extension extension=r.geomorphon/ operation=add
>> Fetching <r.geomorphon/> from GRASS-Addons SVN (be patient)...
>> Compiling...
>> In file included from geom.c:1:
>> local_proto.h:1:20: error: stdlib.h: No such file or
>> directory
>> local_proto.h:2:20: error: string.h: No such file or
>> directory
>> local_proto.h:3:18: error: math.h: No such file or directory
>> local_proto.h:4:27: error: grass/glocale.h: No such file or
>> directory
>> local_proto.h:5:23: error: grass/gis.h: No such file or
>> directory
>> local_proto.h:6:26: error: grass/raster.h: No such file or
>> directory
>> In file included from geom.c:1:
>> local_proto.h:56: error: expected specifier-qualifier-list
>> before 'RASTER_MAP_TYPE'
>> local_proto.h:66: error: expected specifier-qualifier-list
>> before 'RASTER_MAP_TYPE'
>> local_proto.h:74: error: expected specifier-qualifier-list
>> before 'CELL'
>> local_proto.h:139: error: expected declaration specifiers or
>> '...' before 'RASTER_MAP_TYPE'
>> local_proto.h:140: error: expected ')' before '*' token
>> geom.c: In function 'exposition':
>> geom.c:146: warning: incompatible implicit declaration of
>> built-in function 'fabs'
>> geom.c: In function 'extends':
>> geom.c:206: warning: incompatible implicit declaration of
>> built-in function 'fabs'
>> geom.c: In function 'shape':
>> geom.c:232: warning: incompatible implicit declaration of
>> built-in function 'atan'
>> geom.c:236: warning: incompatible implicit declaration of
>> built-in function 'sin'
>> geom.c:237: warning: incompatible implicit declaration of
>> built-in function 'cos'
>> In file included from geom.c:1:
>> local_proto.h:1:20: error: stdlib.h: No such file or
>> directory
>> local_proto.h:2:20: error: string.h: No such file or
>> directory
>> local_proto.h:3:18: error: math.h: No such file or directory
>> local_proto.h:4:27: error: grass/glocale.h: No such file or
>> directory
>> local_proto.h:5:23: error: grass/gis.h: No such file or
>> directory
>> local_proto.h:6:26: error: grass/raster.h: No such file or
>> directory
>> In file included from geom.c:1:
>> local_proto.h:56: error: expected specifier-qualifier-list
>> before 'RASTER_MAP_TYPE'
>> local_proto.h:66: error: expected specifier-qualifier-list
>> before 'RASTER_MAP_TYPE'
>> local_proto.h:74: error: expected specifier-qualifier-list
>> before 'CELL'
>> local_proto.h:139: error: expected declaration specifiers or
>> '...' before 'RASTER_MAP_TYPE'
>> local_proto.h:140: error: expected ')' before '*' token
>> geom.c: In function 'exposition':
>> geom.c:146: warning: incompatible implicit declaration of
>> built-in function 'fabs'
>> geom.c: In function 'extends':
>> geom.c:206: warning: incompatible implicit declaration of
>> built-in function 'fabs'
>> geom.c: In function 'shape':
>> geom.c:232: warning: incompatible implicit declaration of
>> built-in function 'atan'
>> geom.c:236: warning: incompatible implicit declaration of
>> built-in function 'sin'
>> geom.c:237: warning: incompatible implicit declaration of
>> built-in function 'cos'
>> lipo: can't figure out the architecture type of: /var/folder
>> s/wc/2dv9njw93k3bfyy5ppkw022h0000gn/T//ccESKY4a.out
>> make: *** [OBJ.x86_64-apple-darwin12.2.0/geom.o] Error 1
>> ERROR: Compilation failed, sorry. Please check above error messages.
>> (Tue Feb 26 09:40:18 2013) Command finished (3 sec)
>> #############################
>> 
>> Your help is much appreciated!
>> 
>> Sincerely,
>> 
>> Robert Brown

> All messages comes from compiler informing you haven't installed standard librarires. This is however the issue of g.extension, which do not work well with Apple systems. Please contact grass dev team how to resolve this issue
> 
> regards
> Jarek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130226/a40750b9/attachment-0001.html>


More information about the grass-user mailing list