[GRASS5] Error with langinfo.h in Mac OS X 10.2.x
Radim Blazek
blazek at itc.it
Tue May 10 07:38:03 EDT 2005
Lorenzo Moretti wrote:
> Hi all
> Last cvs includes in lib/gis/parser.c a link to:
> langinfo.h
> This file is only included in Darwin kernel from Mac OS X 10.3.x or later.
> This is the true first incompatibility for Mac OS X 10.2.x with Grass.
> I've compiled last cvs with old parser.c and it works.
> I ask:
> Is it much important this file or is it possible to work around?
> What I lost?
>
> Bye
The langinfo.h is necessary for nl_langinfo(CODESET). We need to get
somehow encoding of the gettext output.
gettext is using nl_langinfo(CODESET) so I thought that if gettext is
available and used (#if defined(HAVE_LIBINTL_H) && defined(USE_NLS))
the header file langinfo.h should be also available.
Radim
More information about the grass-dev
mailing list