Can't set up locales using localedef in glibc-2.3.2

From: Grischa Stegemann (grix7-usenet_at_yahoo.de)
Date: 05/19/05


Date: Thu, 19 May 2005 15:00:22 +0200

Dear all

I'm using glibc-2.3.2 here on a handmade Linux system (no particular
distribution).

#> localedef --help
System's directory for character maps : /usr/share/i18n/charmaps
                       repertoire maps: /usr/share/i18n/repertoiremaps
                       locale path : /usr/lib/locale:/usr/share/i18n

/usr/share/i18n is symlinked to a nfs-served volume but
/usr/share/i18n/charmaps and /usr/share/i18n/locales exist and contain all the
expected charmaps and locales which are of course installed together with the
glibc of the local system.

Now
#> localedef -v -i en_US -f ISO-8859-1 en_US
returns a whole lot of errors like this:
/usr/share/i18n/locales/en_US:7: non-symbolic character value should not be used
...
/usr/share/i18n/locales/translit_neutral:10: non-symbolic character value should
not be used
...
LC_NAME: field `name_gen' not defined
LC_IDENTIFICATION: field `audience' not defined
...

and of course no locale can be created.

This problem is mentioned a couple of times in Debian-mailinglists but without a
solution unfortunately.

Does anybody have an idea about how to attack this problem?

Thanks in advance,
Grischa