Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] perl: warning: Setting locale failed.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Sun Feb 05, 2012 11:39 am    Post subject: [Solved] perl: warning: Setting locale failed. Reply with quote

Hi @ All! :-)

Tja, sowas bekomme ich jetzt neuerdings im Terminal gemeldet.
Code:
alex@amd64x2 ~ $ sudo wakeonlinkstation.sh &
[1] 15205
alex@amd64x2 ~ $ perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
   LANGUAGE = "de_DE.utf8@euro",
   LC_ALL = (unset),
   LC_COLLATE = "C",
   LC_CTYPE = "de_DE.UTF-8",
   LANG = "de_DE.utf8@euro"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Sending magic packet to 192.168.11.111:9 with 00:22:AE:43:94:EC
Ich habe mal geschaut, sieht aber eigentlich alles normal aus, denke ich.
Hab das mal irgendwann nach Handbuch eingestellt. Habe auch keine Probleme mit Sonderzeichen, etc. ... ?@€|~¹²³{} öäü geht alles!
Code:
alex@amd64x2 ~ $ locale
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=de_DE.utf8@euro
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC="de_DE.utf8@euro"
LC_TIME="de_DE.utf8@euro"
LC_COLLATE=C
LC_MONETARY="de_DE.utf8@euro"
LC_MESSAGES="de_DE.utf8@euro"
LC_PAPER="de_DE.utf8@euro"
LC_NAME="de_DE.utf8@euro"
LC_ADDRESS="de_DE.utf8@euro"
LC_TELEPHONE="de_DE.utf8@euro"
LC_MEASUREMENT="de_DE.utf8@euro"
LC_IDENTIFICATION="de_DE.utf8@euro"
LC_ALL=

Code:
alex@amd64x2 ~ $ cat /etc/env.d/02locale
# Configuration file for eselect
# This file has been automatically generated.
LANG="de_DE.UTF-8"
LANGUAGE="de_DE.UTF-8"
LC_COLLATE="C"
LC_CTYPE=de_DE.UTF-8
Fehlt noch eine Info?

Was kann ich da noch machen? Locale Settings passen so, oder, denke ich.

Merci & Ciao,
aleX!


PS: Wieso sieht die Schrift in [code] Bereichen so unsauber, unleserlich aus?
_________________
"Ich bin ich."


Last edited by Louisdor on Sun Feb 05, 2012 12:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hollowman
Guru
Guru


Joined: 19 Apr 2007
Posts: 584

PostPosted: Sun Feb 05, 2012 12:38 pm    Post subject: Reply with quote

Hi

Deine Einstellungen sind falsch

Code:
LC_CTYPE=de_DE.UTF-8

Da fehlen die Gänsefüßchen

Code:
de_DE.utf8@euro

Diese locale gibt es nicht.

Das muss so aussehen
Code:
$ locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=


Irgendwo hast du eine @euro zu viel.

Mach mal ein locale -a. Was kommt da raus?

Sebastian
Back to top
View user's profile Send private message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Sun Feb 05, 2012 12:41 pm    Post subject: Reply with quote

Hollowman wrote:
Irgendwo hast du eine @euro zu viel.

Mach mal ein locale -a. Was kommt da raus?

Code:
amd64x2 ~ # locale -a
C
POSIX
de_DE.utf8
amd64x2 ~ #

Ciao,
aleX!

_________________
"Ich bin ich."
Back to top
View user's profile Send private message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Sun Feb 05, 2012 12:55 pm    Post subject: Reply with quote

So, hatte in meiner .bashrc noch das mit dem @euro zuviel drin.
---> [Solved] :-)

Merci für den Korrekturanstoß. (Manchmal sieht man es einfach nicht ...)

Ciao,
aleX!

_________________
"Ich bin ich."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum