[GRASS-dev] [GRASS-user] Geomorphons and extension manager
Michael Barton
Michael.Barton at asu.edu
Tue Feb 26 10:40:56 PST 2013
I'm having similar problems with the extension manage on the Mac currently and filed a bug report.
Michael
______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)
www: http://csdc.asu.edu, http://shesc.asu.edu
http://www.public.asu.edu/~cmbarton
On Feb 26, 2013, at 10:40 AM, <grass-user-request at lists.osgeo.org<mailto:grass-user-request at lists.osgeo.org>>
wrote:
From: Robert Andrew Brown <brown782 at purdue.edu<mailto:brown782 at purdue.edu>>
Subject: [GRASS-user] Geomorphons and extension manager
Date: February 26, 2013 10:20:42 AM MST
To: <grass-user at lists.osgeo.org<mailto:grass-user at lists.osgeo.org>>
Cc: Phillip Owens <prowens at purdue.edu<mailto:prowens at purdue.edu>>
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<mailto:jarekj at amu.edu.pl>>
Subject: Re: Geomorphons
Date: February 26, 2013 11:56:20 AM EST
To: brown782 at purdue.edu<mailto:brown782 at purdue.edu>
On 02/26/2013 05:21 PM, brown782 at purdue.edu<mailto: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-dev/attachments/20130226/c598458e/attachment-0001.html>
More information about the grass-dev
mailing list