details about glibc "some" locales installation

Greg Schafer gschafer at
Fri Jan 17 16:46:37 PST 2003

On Fri, Jan 17, 2003 at 11:58:58PM +0100, Antoine Leca wrote:
> 4.0 book reads, in ch.6 glibc (this is copied verbatim from
> 2003-01-14 snapshot):
> >make localedata/install-locales
> >An alternative to running make localedata/install-locales
> >is to only install those locales which you need or want. This
> > can be achieved using the localedef command. Information on
> > this can be found in the INSTALL file in the glibc-2.3.1 tree.
> While atempting to use only a few locale (with 2.2.5, *not* with
> 2.3.1, but I do not expect any difference), I got a message like
> (sorry, I changed systems, this is not verbatim):
>   $ localedef -i ca_ES at euro -f utf-8 -v ca_ES
>   ...
>   unable to copy to /usr/lib/locale/ca_ES, directory does not exist
>   $

LFS version 4.0 contained the following sentence which has somehow been
dropped from the CVS version:-

"One thing to note is that the localedef program assumes that the
/usr/lib/locale directory exists, so you need to create it first."

It needs to go back in methinks.

Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list