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

Michael Barton Michael.Barton at asu.edu
Wed Aug 1 10:15:12 PDT 2012

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?


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

More information about the grass-dev mailing list