[GRASS-user] r.stream.* addons issue

Ralf Schäfer senator at ecotoxicology.de
Sat Oct 19 00:51:10 PDT 2013


Dear all

I can confirm that g.extension now works for me on a mac (10.8.5) in the default path. Tried r.stream.order and r.stream.distance and both were successfully installed.
Makes things much easier, great!
Nice weekend
Ralf

Am 19.10.2013 um 05:23 schrieb William Kyngesburye <woklist at kyngchaos.com>:

> On Oct 18, 2013, at 9:50 PM, Bulent Arikan wrote:
> 
>> Unfortunately, it still does not work. I downloaded the stable version of Grass from your website and I am having the same issue.
> 
> Like I said, I haven't tried it from the GUI.  It's different code (python) than the CLI version (shell script), so maybe something isn't working right in python.  Try running g.extension in the GRASS Terminal, not from the GUI.  Works fine for me in the default GRASS_ADDON_PATH prefix (not global).
> 
> It is not recommended to install globally on OS X, that's the GRASS.app.  Mainly, it's just not the Mac way to add something to an existing application.  Global installation on OS X should be the /Library/GRASS addons folder, but I don't think there is a default behavior in g.extension for that yet.  You woud have to manually specify the prefix and make sure you are logged in as an administrator user (both the -s and -u flags force the prefix to be the GRASS app).
> 
> Something like:
> 
> g.extension ext=r.stream.basins prefix=/Library/GRASS/6.4/Modules
> 
>> Meanwhile, I am trying to remember an old trick I learned from a friend. I saved the .html file as a plain text file and dropped it into the Scripts folder in Contents>MacOS. I used to type a command starting with 'chmod' to make that plain text file a Unix executable file. It worked in the past for several addons.
>> 
> That sounds dangerous - making html executable, anything could happen if there was some valid script code in the html.
> 
>> BÜLENT 
>> 
>> 
>> 
>> On Oct 19, 2013, at 1:39 AM, William Kyngesburye <woklist at kyngchaos.com> wrote:
>> 
>>> Actually, I think g.extension should work now, I forgot to update the readme.  I haven't tried it from the GUI, or installing system-wide.
>>> 
>>> On Oct 18, 2013, at 3:36 PM, Bulent Arikan wrote:
>>> 
>>>> Thank you Ralf!
>>>> 
>>>> BÜLENT 
>>>> 
>>>> 
>>>> 
>>>> On Oct 18, 2013, at 11:21 PM, Ralf Schäfer <senator at ecotoxicology.de> wrote:
>>>> 
>>>>> Dear Bulent
>>>>> 
>>>>> g.extension does not work on Mac to my knowledge.
>>>>> There is a detailed description of an alternative how to build modules on Mac using a few lines in the Shell.
>>>>> If you install GRASS from kyngchaos, he provides a description in a readme file.
>>>>> http://www.kyngchaos.com/software/grass
>>>>> I do not know whether this description is compatible with the installation from Michael Barton.
>>>>> 
>>>>> Best regards
>>>>> Ralf
>>>> 
>>>> _______________________________________________
>>>> grass-user mailing list
>>>> grass-user at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>> 
>>> -----
>>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>>> http://www.kyngchaos.com/
>>> 
>>> Theory of the Universe
>>> 
>>> There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable.  There is another theory which states that this has already happened.
>>> 
>>> -Hitchhiker's Guide to the Galaxy 2nd season intro
>>> 
>>> 
>> 
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
> 
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
> 
> "Mon Dieu! but they are all alike.  Cheating, murdering, lying, fighting, and all for things that the beasts of the jungle would not deign to possess - money to purchase the effeminate pleasures of weaklings.  And yet withal bound down by silly customs that make them slaves to their unhappy lot while firm in the belief that they be the lords of creation enjoying the only real pleasures of existence....
> 
> - the wisdom of Tarzan
> 
> 



More information about the grass-user mailing list