[GRASS-user] GRASS 6.4.1RC1 wxPython problems on Solaris

Ulli Wölfel uwoelfel at gmx.de
Thu Mar 10 11:27:16 EST 2011

Am 10.03.2011 um 16:03 schrieb Glynn Clements:

> Ulli Wölfel wrote:
>> Today I compiled GRASS 6.4.1RC1 on Solaris 10 (SPARC) and encountered
>> some problems with the wxPython-based GUI. When I try to open a
>> preferences Dialog in Layer Manager, I get some error output (see
>> further below) and nothing happens. This error also existed in
>> version 6.4.0 and seems to be related to the following posts:
>> http://trac.osgeo.org/grass/ticket/882
>> http://lists.osgeo.org/pipermail/grass-user/2011-February/059569.html
>> My desktop is configured for a German locale and UTF-8. However, when
>> entering "r.cost --interface-description", I get "<?xml version="1.0"
>> encoding="646"?>" - so this might be something specific to Solaris.
> The encoding is obtained from nl_langinfo(CODESET). In this case,
> "646" is probably used as a shorthand for ISO-646, which specifies
> ASCII as well as national variants. I suspect that Python doesn't
> accept "646" as a valid encoding.
> Was GRASS configured with the --with-nls switch? If not, it will
> operate in the "C" locale, which uses ASCII.

Thanks a lot! That was my mistake - I now recompiled it with --with- 
nls and it works fine.
Btw. in order to get it to compile, I had to edit include/Make/ 
Platform.make and set INTLLIB = -lintl
Maybe this should be fixed in the configure script.

Ulli Wölfel

More information about the grass-user mailing list