#2534: i.segment.hierarchical install error
----------------------+-----------------------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Default | Version: svn-releasebranch70
Keywords: | Platform: Linux
Cpu: x86-64 |
----------------------+-----------------------------------------------------
When attempting to install the addon i.segment.hierarchical , I get the
following error:
g.extension extension=i.segment.hierarchical
svnurl=http://svn.osgeo.org/grass/grass-addons/grass7
Fetching <i.segment.hierarchical> from GRASS-Addons SVN repository (be
patient)...
Compiling...
Makefile:17: warning: overriding commands for target `/tmp/t
mpvNhswj/i.segment.hierarchical/etc/i.segment.hierarchical'
/usr/local/grass-7.0.0svn/include/Make/ScriptRules.make:19:
warning: ignoring old commands for target `/tmp/tmpvNhswj/i.
segment.hierarchical/etc/i.segment.hierarchical'
Traceback (most recent call last):
File "/tmp/tmpvNhswj/i.segment.hierarchical/scripts/i.segm
ent.hierarchical", line 158, in <module>
from isegpatch import rpatch_map
ImportError: No module named isegpatch
make: *** [i.segment.hierarchical.tmp.html] Error 1
ERROR: Compilation failed, sorry. Please check above error messages.
Replying to [comment:3 dnewcomb]:
> Replying to [comment:2 mlennert]:
> > see also #2480, seems to be the same issue.
> >
> > Moritz
> Interesting, i.segment.gsoc installed without a problem.
That's a C-Module so different make logic. (And AFAIK it's actually
superseded by i.segment in core).
I have the same issue in GRASS 7.1 revision: 63930 under Fedora linux
21, is it possible to go around this problem? when I clone the add on
folder (from github) on my scripts folder and run make, it does not
work either (see below). Thank you and cheers, Javier
[javier@localhost i.segment.hierarchical]$ make
Makefile:17: warning: overriding recipe for target
'/usr/local/grass-7.1.svn/etc/i.segment.hierarchical'
../../include/Make/ScriptRules.make:19: warning: ignoring old recipe
for target '/usr/local/grass-7.1.svn/etc/i.segment.hierarchical'
if [ "/usr/local/grass-7.1.svn/scripts/i.segment.hierarchical" != "" ]
; then GISRC=/usr/local/grass-7.1.svn/demolocation/.grassrc71
GISBASE=/usr/local/grass-7.1.svn
PATH="/usr/local/grass-7.1.svn/bin:/usr/local/grass-7.1.svn/bin:/usr/local/grass-7.1.svn/scripts:$PATH"
PYTHONPATH="/usr/local/grass-7.1.svn/etc/python:/usr/local/grass-7.1.svn/gui/wxpython:$PYTHONPATH"
LD_LIBRARY_PATH="/usr/local/grass-7.1.svn/bin:/usr/local/grass-7.1.svn/scripts:/usr/local/grass-7.1.svn/lib:/usr/local/grass-7.1.svn/lib:"
LC_ALL=C /usr/local/grass-7.1.svn/scripts/i.segment.hierarchical
--html-description < /dev/null | grep -v '</body>\|</html>' >
i.segment.hierarchical.tmp.html ; fi
/bin/sh: /usr/local/grass-7.1.svn/scripts/i.segment.hierarchical: Es
un directorio
../../include/Make/Html.make:14: recipe for target
'i.segment.hierarchical.tmp.html' failed
make: *** [i.segment.hierarchical.tmp.html] Error 1
rm i.segment.hierarchical.tmp.html
On Fri, Jan 9, 2015 at 4:44 PM, GRASS GIS <trac@osgeo.org> wrote:
Replying to [comment:3 dnewcomb]:
> Replying to [comment:2 mlennert]:
> > see also #2480, seems to be the same issue.
> >
> > Moritz
> Interesting, i.segment.gsoc installed without a problem.
That's a C-Module so different make logic. (And AFAIK it's actually
superseded by i.segment in core).