[GRASS-dev] locale problem - configuration fails with nls

William Kyngesburye woklist at kyngchaos.com
Wed Aug 1 10:44:28 PDT 2012


It's in the libintl library, not Python gettext.  Another dependency to worry about on OS X.  I'll dig up my notes later this evening for you.

On Aug 1, 2012, at 12:15 PM, Michael Barton wrote:

> I've never compiled --with-nls prior to this. However, at least a few years back, GRASS that I compiled came up in Spanish on my colleague's machines--either because the with-nls flag dates to a few years back or because it worked in spite of not compiling with-nls. No one told me when this stopped working and my builds were only in English, so I'm in the dark on  that.
> 
> I just tried to compile with-nls, but got this config error
> 
> checking whether to use NLS... yes
> checking for gettext... no
> checking for gettext in -lintl... no
> configure: error: *** Unable to locate gettext() function.
> 
> 
> I KNOW that I have python gettext. So how do I specify it? Or is this a non-Python gettext that I must install separately?
> 
> Michael
> 
> 
> 
> On Aug 1, 2012, at 8:44 AM, Glynn Clements wrote:
> 
>> 
>> Michael Barton wrote:
>> 
>>> I have not explicitly built with --with-nls. Is this required for
>>> GRASS to use different language settings (i.e., po.* files)?
>> 
>> For C modules and libraries, yes. Python code will probably ignore the
>> --with-nls setting.
>> 
>> -- 
>> Glynn Clements <glynn at gclements.plus.com>
> 
> _____________________
> C. Michael Barton
> Visiting Scientist, Integrated Science Program
> National Center for Atmospheric Research &
> University Corporation for Atmospheric Research
> 303-497-2889 (voice)
> 
> Director, Center for Social Dynamics & Complexity 
> Professor of Anthropology, School of Human Evolution & Social Change
> Arizona State University
> www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
> 
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Mon Dieu! but they are all alike.  Cheating, murdering, lying, fighting, and all for things that the beasts of the jungle would not deign to possess - money to purchase the effeminate pleasures of weaklings.  And yet withal bound down by silly customs that make them slaves to their unhappy lot while firm in the belief that they be the lords of creation enjoying the only real pleasures of existence....

- the wisdom of Tarzan




More information about the grass-dev mailing list