[GRASS-user] fatal error: 'libintl.h' file not found (OSX)
William Kyngesburye
woklist at kyngchaos.com
Mon Oct 13 20:18:58 PDT 2014
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:
>
> /Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/grass/glocale.h:9:10:
> 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: 2.8.12.1
>
> Error message:
>
> (Sun Oct 12 22:11:35 2014)
> g.extension.py extension=r.stream.extract
> svnurl=http://svn.osgeo.org/grass/grass-addons/grass6
> WARNING: GRASS_ADDON_PATH has more items, using first defined -
> '/Users/snarrald/Library/GRASS/6.4/Modules/bin'
> WARNING: Extension <r.stream.extract> already installed. Re-installing...
> Fetching <r.stream.extract> from GRASS-Addons SVN (be patient)...
> Compiling...
> /Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
> e/Grass.make:423: warning: overriding commands for target `/
> Users/snarrald/Desktop/GrassData/GBNP/GBNP/.tmp/Gravenstein.
> local/53389.0/r.stream.extract/bin'
> /Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
> e/Grass.make:414: warning: ignoring old commands for target
> `/Users/snarrald/Desktop/GrassData/GBNP/GBNP/.tmp/Gravenstei
> n.local/53389.0/r.stream.extract/bin'
> In file included from close.c:2:
> /Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/gra
> 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)
> _______________________________________________
> 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/
First Pogril: Why is life like sticking your head in a bucket filled with hyena offal?
Second Pogril: I don't know. Why IS life like sticking your head in a bucket filled with hyena offal?
First Pogril: I don't know either. Wretched, isn't it?
-HitchHiker's Guide to the Galaxy
More information about the grass-user
mailing list