[GRASS-dev] Re: g.extension issue

Michael Barton Michael.Barton at asu.edu
Tue Jul 12 14:47:41 EDT 2011


More g.extension stuff.

In GRASS 6.4.2, almost everything fails to compile because...

make: *** No targets specified and no makefile found.  Stop.


However, the r.stream.* modules do compile because they ignore targets set and put everything on the desktop.

In all cases, the values set for GRASS_ADDON_PATH is ignored by g.extension.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











On Jul 12, 2011, at 11:20 AM, Michael Barton wrote:

g.extension in GRASS 6.5 launches but compilation fails.

g.extension in GRASS 6.4.2 works fine

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu<http://csdc.asu.edu/>



On Jul 12, 2011, at 10:59 AM, Michael Barton wrote:

I'll first ask here and then file a trak ticket if it seems appropriate.

Working in the current svn version of GRASS 7, I tried to install r.stream via g.extension. First, I tried from the command line in the terminal. Here is what happened.

GRASS 7.0.svn (Spain_wgs84z30):~ > g.extension -s extension=wx.stream
ERROR: install required. Please install 'install' first.


Then I tried from the g.extension menu item from the settings menu. Here is what I got in the console output window.

Traceback (most recent call last):
  File "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc
/gui/wxpython/wxgui.py", line 1035, in OnInstallExtension

win = InstallExtensionWindow(self, size = (650, 550))
  File "/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-
darwin10.8.0/etc/gui/wxpython/gui_modules/ghelp.py", line
832, in __init__

self.statusbar = self.CreateStatusBar(0)
  File "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc
/python/wx/_windows.py", line 538, in CreateStatusBar

return _windows_.Frame_CreateStatusBar(*args, **kwargs)
wx._core
.
PyAssertionError
:
C++ assertion "m_nFields == (int)m_statusStrings.GetCount()"
failed at /BUILD/wxPython-
src-2.8.12.0/src/generic/statusbr.cpp(136) in
SetFieldsCount(): This really should never happen, can we do
away with m_nFields here?


Finally, I tried to launch g.extension from the terminal command line. The module launches. But when I try to install r.stream, I get the same "ERROR: install required. Please install 'install' first." message.


Are these the same error or several different errors.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu<http://csdc.asu.edu/>















More information about the grass-dev mailing list