You are not logged in.

#1 2008-08-08 02:55:37

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

[SOLVED] Locale settings issue

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

#2 2008-08-09 02:45:20

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Re: [SOLVED] Locale settings issue

Did I just post in the wrong place, or is this actually a tough problem to solve?

Offline

#3 2008-08-09 03:48:08

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Locale settings issue

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

#4 2008-08-09 03:56:43

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Re: [SOLVED] Locale settings issue

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

#5 2008-08-09 04:00:33

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Locale settings issue

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

#6 2008-08-09 05:09:28

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Re: [SOLVED] Locale settings issue

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

#7 2008-08-09 05:13:33

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Locale settings issue

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

#8 2008-08-09 05:17:54

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Re: [SOLVED] Locale settings issue

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

#9 2008-08-09 05:23:25

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Locale settings issue

Redemption!!!

Allan, scratch my request for banning.

Glad to help void.pointer.

Offline

#10 2008-08-09 05:33:27

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,403
Website

Re: [SOLVED] Locale settings issue

skottish wrote:

Allan, scratch my request for banning.

You were lucky.  I was reaching for the button!

Online

#11 2008-08-09 15:02:06

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: [SOLVED] Locale settings issue

@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

#12 2008-08-09 15:17:04

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Re: [SOLVED] Locale settings issue

Done. Sorry, I keep forgetting to do that.

Offline

Board footer

Powered by FluxBB