[GRASS-user] fatal error: 'libintl.h' file not found (OSX)

Svein Harald Sønderland snarrald at gmail.com
Sun Oct 12 13:23:42 PDT 2014


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)


More information about the grass-user mailing list