[GRASS-user] grass-user Digest, Vol 105, Issue 9

Ben,

Thanks for your response. Unfortunately, I already have both Homebrew and gettext installed. I am still unable to install r.prominence or r.findtheriver.

I will try reading the “Notes on GRASS Programming” in “Opensource GIS” and see if I can compile it using Eclipse.
-Thayer


Date: Thu, 08 Jan 2015 15:34:21 +0100
From: Benjamin Ducke <benducke@fastmail.fm>
To: grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] g.extension gives an error when installing
r.prominence
Message-ID: <54AE956D.8080506@fastmail.fm>
Content-Type: text/plain; charset=windows-1252

Thayer,

On Tue, Jan 6, 2015 at 7:35 PM, Thayer Young <thayeray@yahoo.com
mailto:[thayeray@yahoo.com](mailto: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.

Which version of Mac OS X are you on?
I recall having a similar problem, related to “gettext”,
with OS 10.9.

In my case, this solved the problem (requires an
Internet connection):

  1. Go to http://brew.sh/ and install “brew”, then:

  2. in the Terminal, issue:

brew install gettext

  1. Try compiling again.

Best,

Ben

On Wed, Jan 7, 2015 at 10:37 PM, Thayer Young <thayeray@yahoo.com
mailto:[thayeray@yahoo.com](mailto: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


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Dr. Benjamin Ducke
{} Geospatial Consultant
{
} GIS Developer

Spatial technology for the masses, not the classes:
experience free and open source GIS at http://gvsigce.org


The problem is that the linker does not find
"lintl". Search your file system to see
if and where you have a copy of "libintl.dylib".

If it exists somewhere, then you need to tell
the linker where it is. E.g. if you find it
in "/usr/local/lib", then add that path to
the linker search path:

DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/usr/local/lib"

... before invoking "g.extension".

Solving this linker issue will probably get you there
faster than trying to set up a complete environment
for compiling GRASS modules.

Cheers,

Ben

On 08/01/15 16:33, Thayer Young wrote:

Ben,

Thanks for your response. Unfortunately, I already have both Homebrew
and gettext installed. I am still unable to install r.prominence or
r.findtheriver.

I will try reading the "Notes on GRASS Programming" in "Opensource GIS"
and see if I can compile it using Eclipse.
-Thayer

------------------------------------------------------------------------
Date: Thu, 08 Jan 2015 15:34:21 +0100
From: Benjamin Ducke <benducke@fastmail.fm <mailto:benducke@fastmail.fm>>
To: grass-user@lists.osgeo.org <mailto:grass-user@lists.osgeo.org>
Subject: Re: [GRASS-user] g.extension gives an error when installing
    r.prominence
Message-ID: <54AE956D.8080506@fastmail.fm
<mailto:54AE956D.8080506@fastmail.fm>>
Content-Type: text/plain; charset=windows-1252

Thayer,

On Tue, Jan 6, 2015 at 7:35 PM, Thayer Young <thayeray@yahoo.com

<mailto:thayeray@yahoo.com>

<mailto: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.

Which version of Mac OS X are you on?
I recall having a similar problem, related to "gettext",
with OS 10.9.

In my case, this solved the problem (requires an
Internet connection):

1. Go to http://brew.sh/and install "brew", then:

2. in the Terminal, issue:

  brew install gettext

3. Try compiling again.

Best,

Ben

On Wed, Jan 7, 2015 at 10:37 PM, Thayer Young <thayeray@yahoo.com

<mailto:thayeray@yahoo.com>

<mailto: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

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org <mailto:grass-user@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Dr. Benjamin Ducke
{*} Geospatial Consultant
{*} GIS Developer

Spatial technology for the masses, not the classes:
experience free and open source GIS at http://gvsigce.org
<http://gvsigce.org/&gt;

------------------------------

--
Dr. Benjamin Ducke
{*} Geospatial Consultant
{*} GIS Developer

Spatial technology for the masses, not the classes:
experience free and open source GIS at http://gvsigce.org