[GRASS-user] fatal error: libintl.h: no such file or directory

Markus Neteler neteler at osgeo.org
Mon Dec 5 03:47:30 EST 2011


On Mon, Dec 5, 2011 at 6:46 AM, Sandip Maity <sandip.stesalit at gmail.com> wrote:
> Dear grass user,
>
> I am getting following error to compile the source code of only r.watershed.
>
> $ make
> make -C ram || echo
> /c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2011_11_26/raster/r.watershed/ram
>>> /c/OSGeo4W/apps/grass/grass-6.5.svn/error.log
> make[1]: Entering directory
> `/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2011_11_26/raster/r.watershed/ram'
...
> `/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2011_11_26/raster/r.watershed/ram'
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include -g
> -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
>  -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/close_maps.o -c close_maps.c
> In file included from close_maps.c:4:0:
> c:/OSGeo4W/apps/grass/grass-6.5.svn/include/grass/glocale.h:9:21: fatal
> error: libintl.h: No such file or directory
> compilation terminated.

On my Linux box, the file libintl.h is in the glibc-devel package. I suspect
that you are missing the installation of a related development package
on your system.

Markus


More information about the grass-user mailing list