[GRASS-dev] [GRASS GIS] #2598: g.extension compilation fails
GRASS GIS
trac at osgeo.org
Tue Mar 3 10:02:25 PST 2015
#2598: g.extension compilation fails
----------------------+-----------------------------------------------------
Reporter: ewcgrass | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Default | Version: svn-releasebranch70
Keywords: | Platform: Linux
Cpu: x86-64 |
----------------------+-----------------------------------------------------
Comment(by ewcgrass):
I have managed to get g.extension to compile several (but not all) addon
modules. I did this by copying (as root user) all files located inside the
grass7.0.1svn-x86_64-unknown-linux-gnu-21_02_2015/include/grass and
/include/Make, grass7.0.1svn-x86_64-unknown-linux-gnu-21_02_2015/tools,
and grass7.0.1svn-x86_64-unknown-linux-gnu-21_02_2015/lib directories,
into the respective sub-directories inside grass7.0.1svn-x86_64-unknown-
linux-gnu-21_02_2015/dist.x86_64-unknown-linux-gnu. It would appear that
the requirement for the /dist.x86_64-unknown-linux-gnu directory may have
somehow found it's way into a make or other file somewhere, perhaps as a
remnant from past development work? I suggest this because I found
reference to that directory in the /include/Make/Platform.make.orig file.
My search for references to this directory were not extensive, so perhaps
it is present elsewhere too?
I am not a coder, but I do not view what I have done to get g.extension to
compile to be a proper fix (it is a band-aid fix only). However, I am
hoping this information may help those who are more familiar with the code
related to g.extension, or to other compilation activities within GRASS,
to find the source of this problem?
The modules that still refuse to compile appear to be doing so because of
some issues related to file permissions (??) and/or missing header files.
For example, I have not been able to find geos_c.h anywhere within the
/grass7.0.1svn-x86_64-unknown-linux-gnu-21_02_2015 directory, which is
needed to compile r.stream.order, r.stream.snap, v.surf.mass,
v.centerpoint, etc. Also, some errors appear to maybe be related to syntax
errors; for example for modules v.transects and r.stream.basins.
I intend to report back with more information as/if time permits for me to
"explore" more deeply into the remaining compilation problems.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2598#comment:7>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list