[GRASS5] Autoconf problems, Grass 5.1 solaris 8 sparc

Glynn Clements glynn.clements at virgin.net
Mon Mar 17 09:49:53 EST 2003

cheg01 at attbi.com wrote:

> I also get a compile time error when "--with-nls" is used. libgis fails
> because of a problem with glocale.h:
> make[2]: Entering directory `/usr3/grass51/lib/gis'
> gcc -g -Wall  -Wall  -I/usr3/grass51/include -I/usr3/grass51/dist.sparc-sun
> -solaris2.8/include      -I/usr3/grass51/include \
>             -I/usr3/grass51/dist.sparc-sun-solaris2.8/include \
>         -o OBJ.sparc-sun-solaris2.8/adj_cellhd.o -c adj_cellhd.c
> adj_cellhd.c: In function `G_adjust_Cell_head':
> adj_cellhd.c:44: `PACKAGE' undeclared (first use in this function)

Every Makefile which compiles internationalised code (this now
includes libgis, libraster, s.surf.rst, and most of the PostgreSQL
modules) needs to define the PACKAGE macro.

The 5.0 Gmakefiles do this; the 5.1 Makefiles don't. This needs to be
fixed before the --with-nls option will work on 5.1.

Glynn Clements <glynn.clements at virgin.net>

More information about the grass-dev mailing list