[GRASS-dev] [GRASS GIS] #2534: i.segment.hierarchical install error

#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.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2534&gt;
GRASS GIS <http://grass.osgeo.org>

#2534: i.segment.hierarchical install error
------------------------------------+---------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Addons | Version: svn-releasebranch70
Keywords: i.segment.hierarchical | Platform: Linux
      Cpu: x86-64 |
------------------------------------+---------------------------------------
Changes (by martinl):

  * keywords: => i.segment.hierarchical
  * component: Default => Addons

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2534#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2534: i.segment.hierarchical install error
------------------------------------+---------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Addons | Version: svn-releasebranch70
Keywords: i.segment.hierarchical | Platform: Linux
      Cpu: x86-64 |
------------------------------------+---------------------------------------

Comment(by mlennert):

see also #2480, seems to be the same issue.

Moritz

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2534#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2534: i.segment.hierarchical install error
------------------------------------+---------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Addons | Version: svn-releasebranch70
Keywords: i.segment.hierarchical | Platform: Linux
      Cpu: x86-64 |
------------------------------------+---------------------------------------

Comment(by dnewcomb):

Replying to [comment:2 mlennert]:
> see also #2480, seems to be the same issue.
>
> Moritz
Interesting, i.segment.gsoc installed without a problem.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2534#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#2534: i.segment.hierarchical install error
------------------------------------+---------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Addons | Version: svn-releasebranch70
Keywords: i.segment.hierarchical | Platform: Linux
      Cpu: x86-64 |
------------------------------------+---------------------------------------

Comment(by mlennert):

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).

Moritz

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2534#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

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:

#2534: i.segment.hierarchical install error
------------------------------------+---------------------------------------
Reporter: dnewcomb | Owner: grass-dev@...
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Addons | Version: svn-releasebranch70
Keywords: i.segment.hierarchical | Platform: Linux
      Cpu: x86-64 |
------------------------------------+---------------------------------------

Comment(by mlennert):

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).

Moritz

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2534#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

On Fri, Feb 13, 2015 at 7:44 PM, Javier Martínez-López
<javi.martinez.lopez@gmail.com> wrote:

I have the same issue in GRASS 7.1 revision: 63930 under Fedora linux
21, is it possible to go around this problem?

Sure (I'm also on Fedora) but this is vali for any Linux distro

you need to specify where your GRASS GIS sources are:

e.g.:

make MODULE_TOPDIR=$HOME/software/grass71

then it compiles fine.

Markus

Thank you Markus! Cheers, Javier

On Sat, Feb 14, 2015 at 12:36 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Fri, Feb 13, 2015 at 7:44 PM, Javier Martínez-López
<javi.martinez.lopez@gmail.com> wrote:

I have the same issue in GRASS 7.1 revision: 63930 under Fedora linux
21, is it possible to go around this problem?

Sure (I'm also on Fedora) but this is vali for any Linux distro

you need to specify where your GRASS GIS sources are:

e.g.:

make MODULE_TOPDIR=$HOME/software/grass71

then it compiles fine.

Markus