Re: More on locale
On Mon, Jul 09, 2018 at 06:37:19PM +0100, John wrote:
> A short time ago I sought your advice about messages I am getting
> about locales I thought I did what was suggested but I still see
>
> CC libclamav_internal_utils_nothreads_la-strlcat.lo
> ../libtool: line 1748: warning: setlocale: LC_CTYPE: cannot change
> locale (en_US.UTF-8)
> when compiling, and
>
> (firefox-esr:11622): Gtk-WARNING **: Locale not supported by C library.
> Using the fallback 'C' locale.
>
> from firefox. There are other similar. I have not got this problem
> on any other machine. How can I fix it, and ensure it does not happen
> again?
I'm not sure, but try running locate on your locale e.g.:
$ locate en_US.UTF-8
/usr/share/X11/locale/en_US.UTF-8
/usr/share/X11/locale/en_US.UTF-8/Compose
/usr/share/X11/locale/en_US.UTF-8/XI18N_OBJS
/usr/share/X11/locale/en_US.UTF-8/XLC_LOCALE
/usr/share/doc/libx11-dev/i18n/compose/en_US.UTF-8.html
If you don't have those (or similar) locale files, you need to enable
and generate that (evidently required, based on your environment)
locale.
Good luck,
Reply to: