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

Sandip Maity sandip.stesalit at gmail.com
Mon Dec 5 00:46:30 EST 2011


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\apps\grass\grass-6.5.svn/include/Make/Module.make:25: warning:
overriding commands for target `install'
C:\osgeo4w\apps\grass\grass-6.5.svn/include/Make/Rules.make:90: warning:
ignoring old commands for target `install'
Makefile:14: warning: overriding commands for target `htmletc'
C:\osgeo4w\apps\grass\grass-6.5.svn/include/Make/Html.make:53: warning:
ignoring old commands for target `htmletc'
make OBJ.i686-pc-mingw32
make[2]: Entering directory
`/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/include/Make/Module.make:25: warning:
overriding commands for target `install'
C:\osgeo4w\apps\grass\grass-6.5.svn/include/Make/Rules.make:90: warning:
ignoring old commands for target `install'
Makefile:14: warning: overriding commands for target `htmletc'
C:\osgeo4w\apps\grass\grass-6.5.svn/include/Make/Html.make:53: warning:
ignoring old commands for target `htmletc'
make[2]: `OBJ.i686-pc-mingw32' is up to date.
make[2]: Leaving directory
`/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.
make[1]: *** [OBJ.i686-pc-mingw32/close_maps.o] Error 1
make[1]: Leaving directory
`/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2011_11_26/raster/r.watershed/ram'
make -C seg || echo
/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2011_11_26/raster/r.watershed/seg
>> /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/seg'
C:\osgeo4w\apps\grass\grass-6.5.svn/include/Make/Module.make:25: warning:
overriding commands for target `install'
C:\osgeo4w\apps\grass\grass-6.5.svn/include/Make/Rules.make:90: warning:
ignoring old commands for target `install'
Makefile:14: warning: overriding commands for target `htmletc'
C:\osgeo4w\apps\grass\grass-6.5.svn/include/Make/Html.make:53: warning:
ignoring old commands for target `htmletc'
make OBJ.i686-pc-mingw32
make[2]: Entering directory
`/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2011_11_26/raster/r.watershed/seg'
C:\osgeo4w\apps\grass\grass-6.5.svn/include/Make/Module.make:25: warning:
overriding commands for target `install'
C:\osgeo4w\apps\grass\grass-6.5.svn/include/Make/Rules.make:90: warning:
ignoring old commands for target `install'
Makefile:14: warning: overriding commands for target `htmletc'
C:\osgeo4w\apps\grass\grass-6.5.svn/include/Make/Html.make:53: warning:
ignoring old commands for target `htmletc'
make[2]: `OBJ.i686-pc-mingw32' is up to date.
make[2]: Leaving directory
`/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2011_11_26/raster/r.watershed/seg'
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:3: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.
make[1]: *** [OBJ.i686-pc-mingw32/close_maps.o] Error 1
make[1]: Leaving directory
`/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2011_11_26/raster/r.watershed/seg'
make -C front || echo
/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2011_11_26/raster/r.watershed/front
>> /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/front'
C:\osgeo4w\apps\grass\grass-6.5.svn/include/Make/Module.make:25: warning:
overriding commands for target `install'
C:\osgeo4w\apps\grass\grass-6.5.svn/include/Make/Rules.make:90: warning:
ignoring old commands for target `install'
make OBJ.i686-pc-mingw32
make[2]: Entering directory
`/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2011_11_26/raster/r.watershed/front'
C:\osgeo4w\apps\grass\grass-6.5.svn/include/Make/Module.make:25: warning:
overriding commands for target `install'
C:\osgeo4w\apps\grass\grass-6.5.svn/include/Make/Rules.make:90: warning:
ignoring old commands for target `install'
make[2]: `OBJ.i686-pc-mingw32' is up to date.
make[2]: Leaving directory
`/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2011_11_26/raster/r.watershed/front'
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/main.o -c main.c
In file included from main.c:21: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.
make[1]: *** [OBJ.i686-pc-mingw32/main.o] Error 1
make[1]: Leaving directory
`/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2011_11_26/raster/r.watershed/front'


Please suggest me how can i resolve the error.

regards.

Sandip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20111205/62681b68/attachment.html


More information about the grass-user mailing list