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
--
________________________________________________________________________
|| Lorenzo Moretti e-mail: lorenzo.moretti@bologna.enea.it ||/|/| ENEA prot/idr Web: http://wwwamb.bologna.enea.it/ || | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (ris.)
~~~~~~ 40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax: +39-0516098131
________________________________________________________________________
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
Hi Radim
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
_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5
I use gettext (GNU gettext) 0.10.40 for compatibility with all OS X version (10.2 or higher). Until now it worked in all Mac OS X (10.2, .3 and .4)
Last gettext use new libraries and new header like langinfo.h (10.3 or higher).
The problem is this one I think.
Is it possible to make a workaround ?
Bye
--
________________________________________________________________________
|| Lorenzo Moretti e-mail: lorenzo.moretti@bologna.enea.it ||/|/| ENEA prot/idr Web: http://wwwamb.bologna.enea.it/ || | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (ris.)
~~~~~~ 40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax: +39-0516098131
________________________________________________________________________
Radim Blazek wrote:
> 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.
langinfo.h needs its own configure check.
--
Glynn Clements <glynn@gclements.plus.com>