You are not logged in.
Hi,
I'm trying to upgrade the subversion package to 1.5.1, however I'm finding that I get locale warnings during the makepkg process and I'm not sure how to resolve them. I get the following:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "&LANG",
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can anyone tell me what this means and how to solve it?
::EDIT::
I followed the wiki article here, however it did not help at all.
Last edited by void.pointer (2008-08-09 15:17:16)
Offline
Did I just post in the wrong place, or is this actually a tough problem to solve?
Offline
You can check with the output of 'locale -a'. On my system it looks like this:
[skottish@iasE ~]$ locale -a
C
POSIX
en_US
en_US.iso88591
en_US.iso885915
en_US.utf8
Offline
Mine (Sorry, I really should have posted this before, I forgot to):
[robert@server ~]$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
es_US
es_US.iso88591
es_US.utf8
Offline
Make sure that all three of these are commented out in /etc/locale.gen:
en_US.UTF-8 UTF-8
en_US ISO-8859-1
en_US.ISO-8859-15 ISO-8859-15
If all three are not, go ahead and do it then run locale.gen as root.
Offline
you want me to *comment* them? They were originally commented (the top 2) and I uncommented them. I'll try it and see what I get.
::EDIT::
No command named locale.gen can be found? What command should I run?
Last edited by void.pointer (2008-08-09 05:10:49)
Offline
Ooops. Sorry. Un-comment them of course. And sorry again, I meant locale-gen.
Geez, what a crappy post I put out. Allan, it's time to ban me.
Offline
Hmm, for some reason the 3rd one was not already in there as a comment. I had to physically add it. This seems to have fixed it! Thanks so much!
Offline
Redemption!!!
Allan, scratch my request for banning.
Glad to help void.pointer.
Offline
Allan, scratch my request for banning.
You were lucky. I was reaching for the button!
Online
@void.pointer
Would you please mark this thread as solved? That way others (maybe me, too - i didn't know about that 3rd US locale entry) can find it later. Thanks!
Offline
Done. Sorry, I keep forgetting to do that.
Offline