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@asu.edu
To: Markus Neteler neteler@osgeo.org
Cc: Thayer Young thayeray@yahoo.com; grass-user grass-user grass-user@lists.osgeo.org; William Kyngesburye kyngchaos@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@osgeo.org> wrote:
On Tue, Jan 6, 2015 at 7:35 PM, Thayer Young <thayeray@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@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