#1406: g.extension fails on Mac (maybe other platforms too?) -----------------------+---------------------------------------------------- Reporter: cmbarton | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 6.4.2 Component: Compiling | Version: unspecified Keywords: extension | Platform: MacOSX Cpu: OSX/Intel | -----------------------+---------------------------------------------------- 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. Then I tested in the GRASS 6 series. g.extension launches fine in both 6.5 and 6.4.2. However, 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. [An aside: it is not possible to pick 6.4.2 or all versions for the version in the online trac application] -- Ticket URL: <http://trac.osgeo.org/grass/ticket/1406> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev