[GRASS-user] r.stream.* addons issue
Bulent Arikan
bulent.arikan at gmail.com
Sat Oct 19 01:55:26 PDT 2013
Thanks Ralf,
I think the second half of your email is reminding me that I should do the same and check my add on settings.
I will give it a try!
Thank you!
Asst. Prof. BÜLENT ARIKAN
Department of Ecology and Evolution
Eurasia Institute of Earth Sciences
Istanbul Technical University
Maslak-Sarıyer
Istanbul-TURKEY
34469
> On Oct 19, 2013, at 11:36, Ralf Schäfer <senator at ecotoxicology.de> wrote:
>
> Hi Bulent
>
> I am running version 6.4.3 from Williams page:
> http://www.kyngchaos.com/software/grass
>
> I do not change any parameters in g.extension.
> In the shell window I type g.extension and then enter the extension in the respective window.
> However, this translates to
> g.extension extension=r.stream.order svnurl=http://svn.osgeo.org/grass/grass-addons/grass6
>
> Checking my gis environment with set | grep GRASS gives for the Addon Path:
> GRASS_ADDON_PATH=/Users/ralfs/Library/GRASS/6.4/Modules/bin:/Users/ralfs/Library/GRASS/6.4/Modules/scripts:/Library/GRASS/6.4/Modules/bin:/Library/GRASS/6.4/Modules/scripts
>
> Hope this helps
> Ralf
>
>
>> Am 19.10.2013 um 09:59 schrieb Bulent Arikan <bulent.arikan at gmail.com>:
>>
>> Hi Ralf,
>>
>> If you do not mind, can you, please tell me which version of Grass you are running? I would also very much appreciate if you could send me the details of your g.extension parameters (esp, the url and path information). Maybe a screenshot! Thank you so much for your time.
>>
>>
>> Bulent
>>
>>> On Oct 19, 2013, at 10:51, Ralf Schäfer <senator at ecotoxicology.de> wrote:
>>>
>>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20131019/7da15c17/attachment-0001.html>
More information about the grass-user
mailing list