[GRASS-user] fatal error: 'libintl.h' file not found (OSX)
woklist at kyngchaos.com
Tue Oct 14 16:46:15 PDT 2014
It's included from a GRASS header, so it's needed for compiling extensions.
You would have to add it to your bundle.make to package it into the installer.
On Oct 14, 2014, at 2:16 PM, Michael Barton <michael.barton at asu.edu> wrote:
> I do compile GRASS with internationalization for 6.4.3 and above. However, there have repeatedly been some problems with the way this is implemented on the Mac. Mainly, the internal checks for what is the system language implemented in the GUI have tended to only look at environment settings that are implemented in Linux but not OSX. Another problem with some addons (possibly with r.stream.extract) is the tendency to hardwire searches for needed (and unneeded) libraries to only look in places specific to Linux. There is no reason that libintl.h should be required to compile r.stream.extract. So either this is a bogus error or improper compilation files.
> 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 Oct 13, 2014, at 8:18 PM, William Kyngesburye <woklist at kyngchaos.com> wrote:
>> libintl.h is not part of the OS X system, so it needs to be included in the GRASS app. I don't build my GRASS app with libintl, but I think Michael Barton does.
>> But first, make sure you have the latest version of GRASS, 6.4.4. Michael may have missed libintl.h in older versions but fixed it later.
>> On Oct 12, 2014, at 3:23 PM, Svein Harald Sønderland <snarrald at gmail.com> wrote:
>>> Anyone know how to get the r.stream addons to work on mac??
>>> When trying to install I get this error:
>>> fatal error: 'libintl.h' file not found
>>> #include <libintl.h>
>>> Installed grass gis 6.4.3 on my mac OSX v.10.9.5.
>>> GIS Library Revision 50937 (2012-02-25)
>>> Python: 2.6.8
>>> wxPython: 220.127.116.11
>>> Error message:
>>> (Sun Oct 12 22:11:35 2014)
>>> g.extension.py extension=r.stream.extract
>>> WARNING: GRASS_ADDON_PATH has more items, using first defined -
>>> WARNING: Extension <r.stream.extract> already installed. Re-installing...
>>> Fetching <r.stream.extract> from GRASS-Addons SVN (be patient)...
>>> e/Grass.make:423: warning: overriding commands for target `/
>>> e/Grass.make:414: warning: ignoring old commands for target
>>> In file included from close.c:2:
>>> ss/glocale.h:9:10: fatal error: 'libintl.h' file not found
>>> #include <libintl.h>
>>> 1 error generated.
>>> make: *** [OBJ.x86_64-apple-darwin12.4.0/close.o] Error 1
>>> ERROR: Compilation failed, sorry. Please check above error messages.
>>> (Sun Oct 12 22:11:41 2014) Command finished (5 sec)
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."
- Hitchhiker's Guide to the Galaxy
More information about the grass-user