[GRASS-dev] [GRASS GIS] #854: g.extension does not work on a Mac (probably not on Windows either
GRASS GIS
trac at osgeo.org
Thu Apr 18 11:22:29 PDT 2013
#854: g.extension does not work on a Mac (probably not on Windows either
---------------------------------+------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Addons | Version: svn-releasebranch64
Keywords: g.extension, addons | Platform: All
Cpu: All |
---------------------------------+------------------------------------------
Comment(by cmbarton):
I just compiled GRASS 7 in the past couple hours. g.extension still does
not seem to work. I randomly tried to install i.rotate from the addons
site using the addons interface in the GUI. Here is the result:
{{{
g.extension extension=i.rotate svnurl=http://svn.osgeo.org/grass/grass-
addons/grass7
Fetching <i.rotate> from GRASS-Addons SVN (be patient)...
Compiling...
main.c:16:31: error: grass/config.h: No such file or
directory
main.c:23:23: error: grass/gis.h: No such file or directory
main.c:24:26: error: grass/raster.h: No such file or
directory
main.c:25:29: error: grass/gprojects.h: No such file or
directory
main.c:26:27: error: grass/glocale.h: No such file or
directory
main.c: In function 'main':
main.c:43: error: storage size of 'history' isn't known
main.c:49: warning: assignment makes pointer from integer
without a cast
main.c:53: error: dereferencing pointer to incomplete type
main.c:57: error: 'G_OPT_R_INPUT' undeclared (first use in
this function)
main.c:57: error: (Each undeclared identifier is reported
only once
main.c:57: error: for each function it appears in.)
main.c:57: warning: assignment makes pointer from integer
without a cast
main.c:58: error: 'G_OPT_R_OUTPUT' undeclared (first use in
this function)
main.c:58: warning: assignment makes pointer from integer
without a cast
main.c:59: warning: assignment makes pointer from integer
without a cast
main.c:60: error: dereferencing pointer to incomplete type
main.c:61: error: dereferencing pointer to incomplete type
main.c:62: error: dereferencing pointer to incomplete type
main.c:62: error: 'TYPE_DOUBLE' undeclared (first use in
this function)
main.c:63: error: dereferencing pointer to incomplete type
main.c:63: error: 'YES' undeclared (first use in this
function)
main.c:64: error: dereferencing pointer to incomplete type
main.c:65: error: dereferencing pointer to incomplete type
main.c:70: error: dereferencing pointer to incomplete type
main.c:71: warning: assignment makes pointer from integer
without a cast
main.c:76: warning: assignment makes pointer from integer
without a cast
main.c:77: error: dereferencing pointer to incomplete type
main.c:77: error: 'DCELL_TYPE' undeclared (first use in this
function)
main.c:93: error: 'DCELL' undeclared (first use in this
function)
main.c:93: error: expected ';' before 'd'
main.c:96: error: 'proj_info' undeclared (first use in this
function)
main.c:99: error: 'unit_info' undeclared (first use in this
function)
main.c:102: error: 'proj' undeclared (first use in this
function)
main.c:111: error: 'd' undeclared (first use in this
function)
main.c:111: error: expected expression before ')' token
main.c:123: error: dereferencing pointer to incomplete type
main.c:145: warning: dereferencing 'void *' pointer
main.c:147: error: expected expression before ')' token
main.c:157: error: 'outName' undeclared (first use in this
function)
main.c:16:31: error: grass/config.h: No such file or
directory
main.c:23:23: error: grass/gis.h: No such file or directory
main.c:24:26: error: grass/raster.h: No such file or
directory
main.c:25:29: error: grass/gprojects.h: No such file or
directory
main.c:26:27: error: grass/glocale.h: No such file or
directory
main.c: In function 'main':
main.c:43: error: storage size of 'history' isn't known
main.c:49: warning: assignment makes pointer from integer
without a cast
main.c:53: error: dereferencing pointer to incomplete type
main.c:57: error: 'G_OPT_R_INPUT' undeclared (first use in
this function)
main.c:57: error: (Each undeclared identifier is reported
only once
main.c:57: error: for each function it appears in.)
main.c:57: warning: assignment makes pointer from integer
without a cast
main.c:58: error: 'G_OPT_R_OUTPUT' undeclared (first use in
this function)
main.c:58: warning: assignment makes pointer from integer
without a cast
main.c:59: warning: assignment makes pointer from integer
without a cast
main.c:60: error: dereferencing pointer to incomplete type
main.c:61: error: dereferencing pointer to incomplete type
main.c:62: error: dereferencing pointer to incomplete type
main.c:62: error: 'TYPE_DOUBLE' undeclared (first use in
this function)
main.c:63: error: dereferencing pointer to incomplete type
main.c:63: error: 'YES' undeclared (first use in this
function)
main.c:64: error: dereferencing pointer to incomplete type
main.c:65: error: dereferencing pointer to incomplete type
main.c:70: error: dereferencing pointer to incomplete type
main.c:71: warning: assignment makes pointer from integer
without a cast
main.c:76: warning: assignment makes pointer from integer
without a cast
main.c:77: error: dereferencing pointer to incomplete type
main.c:77: error: 'DCELL_TYPE' undeclared (first use in this
function)
main.c:93: error: 'DCELL' undeclared (first use in this
function)
main.c:93: error: expected ';' before 'd'
main.c:96: error: 'proj_info' undeclared (first use in this
function)
main.c:99: error: 'unit_info' undeclared (first use in this
function)
main.c:102: error: 'proj' undeclared (first use in this
function)
main.c:111: error: 'd' undeclared (first use in this
function)
main.c:111: error: expected expression before ')' token
main.c:123: error: dereferencing pointer to incomplete type
main.c:145: warning: dereferencing 'void *' pointer
main.c:147: error: expected expression before ')' token
main.c:157: error: 'outName' undeclared (first use in this
function)
lipo: can't figure out the architecture type of: /var/folder
s/dm/x_m7msz48xj_9c0059b59rf00000gn/T//cc2vag11.out
make: *** [OBJ.x86_64-apple-darwin12.2.0/main.o] Error 1
ERROR: Compilation failed, sorry. Please check above error messages.
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/854#comment:23>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list