You are not logged in.
Pages: 1
Recently I've been getting this in the terminal when running certain binaries:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_GB.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
What should I install/change to remedy this?
.oO Komodo Dave Oo.
Offline
As of glibc 2.3.6, glibc does not provide all locales. You must edit /etc/locale.gen and uncomment the locales you want built, then run locale-gen as root.
I am a gated community.
Offline
Ok, cheers stonecrest
.oO Komodo Dave Oo.
Offline
Now when I try to run gtkpacman , I get this:
(gtkpacman:14846): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Traceback (most recent call last):
File "/usr/bin/gtkpacman", line 62, in ?
setlocale(LC_ALL, '')
File "/usr/lib/python2.4/locale.py", line 381, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
How am I supposed to find out which locale it wants? I've got en_GB and en_US iso lines uncommented, and have run locale-gen... :?
.oO Komodo Dave Oo.
Offline
Giggidy, I generated the UTF8 ones for US and GB and it's ok now ^_^
.oO Komodo Dave Oo.
Offline
Pages: 1