[GRASS-user] g.extension gives an error when installing r.prominence
Thayer Young
thayeray at yahoo.com
Thu Jan 8 14:45:33 PST 2015
Thanks for your help.
-Thayer
From: Michael Barton <Michael.Barton at asu.edu>
To: Thayer Young <thayeray at yahoo.com>
Cc: Markus Neteler <neteler at osgeo.org>; grass-user grass-user <grass-user at lists.osgeo.org>; Kyngesburye William <kyngchaos at kyngchaos.com>; Benjamin Ducke <benjamin.ducke at ufg.uni-kiel.de>
Sent: Thursday, January 8, 2015 4:54 PM
Subject: Re: [GRASS-user] g.extension gives an error when installing r.prominence
I just tested this on my computer and r.prominence installs from the g.extension GUI fine.
So my guess is the conflict between gettext installed via home-brew and gettext used to compile 6.4.5 (and packaged with it).
Michael
______________________________C. Michael Barton Director, Center for Social Dynamics & ComplexityProfessor of Anthropology, School of Human Evolution & Social ChangeHead, Graduate Faculty in Complex Adaptive Systems ScienceArizona State UniversityTempe, AZ 85287-2402USA
voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)www: http://csdc.asu.edu, http://shesc.asu.eduhttp://www.public.asu.edu/~cmbarton
On Jan 8, 2015, at 11:21 AM, Thayer Young <thayeray at yahoo.com> wrote:
Michael,
Thank you for your suggestions. I just installed the most recent binary from your site, I had the previous version. I am still getting the same compilation error when I try to install certain raster extensions (r.prominence, r.whereistheriver).
I do have the most recent OSX command line tools for my version of OSX (10.10). And according to Homebrew I have the most recent version of gettext. Maybe Homebrew isn't playing nice with XCode?
-Thayer
From: Michael Barton <Michael.Barton at asu.edu>
To: Markus Neteler <neteler at osgeo.org>
Cc: Thayer Young <thayeray at yahoo.com>; grass-user grass-user <grass-user at lists.osgeo.org>; William Kyngesburye <kyngchaos at kyngchaos.com>
Sent: Thursday, January 8, 2015 12:17 PM
Subject: Re: [GRASS-user] g.extension gives an error when installing r.prominence
William Kyngesburye might have a better idea about why compilation failed.
I do remember having compiling problems a year and a half ago for certain things. But that was on GRASS 7. You might try installing the OSX command line tools from the Apple Developer site.
The error seems to be related to internationalization (ld: library not found for -lintl). This is in gettext. I normally compile with gettext included. I posted a new binary 30 December and then revised it a couple times. When did you download this?
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
> On Jan 7, 2015, at 3:39 PM, Markus Neteler <neteler at osgeo.org> wrote:
>
> On Tue, Jan 6, 2015 at 7:35 PM, Thayer Young <thayeray at yahoo.com> wrote:
>> When I try to install the r.prominence extension I get the following error:
>>
>> g.extension.py -i extension=r.prominence
>> svnurl=http://svn.osgeo.org/grass/grass-addons/grass6
>> WARNING: GRASS_ADDON_PATH has more items, using first defined -
>> '/Users/thayer/Library/GRASS/6.4/Modules/bin'
>> ...
>> ld: library not found for -lintl
>> clang: error: linker command failed with exit code 1 (use -v
>> to see invocation)
>> ...
>> ERROR: Compilation failed, sorry. Please check above error messages.
>
>
> On Wed, Jan 7, 2015 at 10:37 PM, Thayer Young <thayeray at yahoo.com> wrote:
>> I am on Mac OS 10.10. From the About GRASS GIS window:
>>
>> GRASS GIS 6.4.5svn, SVN Revision 61583M, GIS Library Revision 50937
>> (2012-02-25), Python: 2.7.6, wxPython: 2.8.12.1
>>
>> I installed it using the Michael Barton snapshot , but I installed it using
>> the Kyng Chaos frameworks (I tried both GUIs and went with the Barton
>> version).
>
> I see. So I add Michael in CC, perhaps he remembers the solution since
> a similar issue was discussed last year:
>
> http://lists.osgeo.org/pipermail/grass-dev/2014-April/068136.html
> (and related messages).
>
> Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150108/802928ea/attachment-0001.html>
More information about the grass-user
mailing list