[GRASS-dev] Grass 6.4.svn: Compiling errors on Win32

Grass6.4.svn rev39426
compiled in osgeo4w-stack
WinVista32

compiling errors in all modules:

syringia@NADA /c/osgeo4w/usr/src/grass64_relb_svn/lib/gis
$ make
make OBJ.i686-pc-mingw32
make[1]: Entering directory `/c/osgeo4w/usr/src/grass64_relb_svn/lib/gis'
make[1]: `OBJ.i686-pc-mingw32' is up to date.
make[1]: Leaving directory `/c/osgeo4w/usr/src/grass64_relb_svn/lib/gis'
gcc -I/c/osgeo4w/usr/src/grass64_relb_svn/dist.i686-pc-mingw32/include -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include -g -O2 -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include -DPACKAGE=\""grasslibs"\" -D_FILE_OFFSET_BITS=64 -DGDAL_LINK=1 -DGDAL_DYNAMIC=1 -DPACKAGE=\""grasslibs"\" -I/c/OSGeo4W/include -I/c/OSGeo4W/include -I/c/osgeo4w/usr/src/grass64_relb_svn/dist.i686-pc-mingw32/include -o OBJ.i686-pc-mingw32/parser.o -c parser.c
parser.c:75:26: localcharset.h: No such file or directory
parser.c: In function `G_usage_xml':
parser.c:1278: warning: assignment makes pointer from integer without a cast
make: *** [OBJ.i686-pc-mingw32/parser.o] Error 1

best regards
helmut

______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de

On Wed, Oct 7, 2009 at 8:28 PM, Helmut Kudrnovsky <hellik@web.de> wrote:

Grass6.4.svn rev39426
compiled in osgeo4w-stack
WinVista32

compiling errors in all modules:

syringia@NADA /c/osgeo4w/usr/src/grass64_relb_svn/lib/gis
$ make
make OBJ.i686-pc-mingw32
make[1]: Entering directory `/c/osgeo4w/usr/src/grass64_relb_svn/lib/gis'
make[1]: `OBJ.i686-pc-mingw32' is up to date.
make[1]: Leaving directory `/c/osgeo4w/usr/src/grass64_relb_svn/lib/gis'
gcc -I/c/osgeo4w/usr/src/grass64_relb_svn/dist.i686-pc-mingw32/include -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include -g -O2 -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include -DPACKAGE=\""grasslibs"\" -D_FILE_OFFSET_BITS=64 -DGDAL_LINK=1 -DGDAL_DYNAMIC=1 -DPACKAGE=\""grasslibs"\" -I/c/OSGeo4W/include -I/c/OSGeo4W/include -I/c/osgeo4w/usr/src/grass64_relb_svn/dist.i686-pc-mingw32/include -o OBJ.i686-pc-mingw32/parser.o -c parser.c
parser.c:75:26: localcharset.h: No such file or directory
parser.c: In function `G_usage_xml':
parser.c:1278: warning: assignment makes pointer from integer without a cast
make: *** [OBJ.i686-pc-mingw32/parser.o] Error 1

please try this:

On Tue, Sep 15, 2009 at 5:35 PM, Colin Nielsen <colin.nielsen@gmail.com> wrote:
...

I have gettext installed and libintl.h is in the standard include
path. That path is passed to the grass configure with (with the
variable defined):

--with-includes="$OSGEO4W_ROOT_MSYS/apps/gdal-16/include
$OSGEO4W_ROOT_MSYS/include" \

I found localcharset.h not in the gettext package that I had, but in
the iconv-lib package. OSGeo4W has an iconv-bin package so I didn't
think I needed this extra one, but it seems that the additional lib
package with localcharset.h isn't included. With it installed,
compiling now works fine.

-Colin

Markus