Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[locale] Problèmes avec locale fr_CH (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
gulivert
l33t
l33t


Joined: 17 Jun 2004
Posts: 863
Location: Switzerland

PostPosted: Sat Nov 04, 2006 4:42 pm    Post subject: [locale] Problèmes avec locale fr_CH (résolu) Reply with quote

Bonsoir,

J'essaie de mettre en place mes locales sur mon isntall de Gentoo toute fraiche.
Donc pour l'erreur que j'obtiens c'est ceci :

Quote:
# locale
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_ALL to default locale: No such file or directory
LANG=fr_CH.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"...


Et en compilation
Quote:
perl: warning: Falling back to the standard locale ("C").
Running autoheader...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr_CH.UTF-8",
LC_ALL = "fr_FR.UTF-8",
LANG = "fr_CH.UTF-8"
are supported and installed on your system.


Pour mettre en place mes locales, j'ai suivi le guide gentoo dispo dans le handbook, j'ai aussi ajouter à mon package.use ceci
Quote:
sys-libs/glibc userlocales


- Recompilé glibc avec ce nouveau flag.
- localedef -c -i fr_CH -f UTF-8 fr_CH.UTF-8
- env-update && source /etc/profile

Mais toujours rien, nada

Voici mon /etc/locale.gen
Quote:
en_US ISO-8859-1
en_US.UTF-8 UTF-8
fr_CH ISO-8859-1
fr_CH.UTF-8 UTF-8


et mon /etc/env.d/02locale
Quote:
LC_ALL="fr_FR.UTF-8"
LANG="fr_CH.UTF-8"
LANGUAGE="fr_CH.UTF-8"


Un peu d'aide est pas de refu là, merci d'avance ...
_________________
Macbook Pro Unibody 9.1 - Kernel 4.4.6 - Awesome 3.5


Last edited by gulivert on Sat Nov 04, 2006 4:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
titoucha
Advocate
Advocate


Joined: 21 Jul 2005
Posts: 2374
Location: Genève

PostPosted: Sat Nov 04, 2006 4:47 pm    Post subject: Reply with quote

Je dit peut être une connerie, mais tu as mis LC_ALL="fr_FR.UTF-8" , c'est pas plutôt fr_CH.UTF-8 que tu dois mettre.
Back to top
View user's profile Send private message
gulivert
l33t
l33t


Joined: 17 Jun 2004
Posts: 863
Location: Switzerland

PostPosted: Sat Nov 04, 2006 4:51 pm    Post subject: Reply with quote

titoucha wrote:
Je dit peut être une connerie, mais tu as mis LC_ALL="fr_FR.UTF-8" , c'est pas plutôt fr_CH.UTF-8 que tu dois mettre.


:? :roll: Nooon j'y crois pas, effectivement là y a plus de problème, d'accord j'ai fait le gros boulet ... 8O

Merci, donc résolu :D

Du coup je dois recompiler plein d'applications ??? Pour que ses locales prennent effets ?
_________________
Macbook Pro Unibody 9.1 - Kernel 4.4.6 - Awesome 3.5
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Sat Nov 04, 2006 5:01 pm    Post subject: Reply with quote

gulivert wrote:
Du coup je dois recompiler plein d'applications ??? Pour que ses locales prennent effets ?

Non rien à recompiler, ces variables n'ont aucune influence à la compilation, seulement le LINGUAS dans le make.conf. Les traductions sont installées pour toutes les langues en général.
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Sat Nov 04, 2006 5:02 pm    Post subject: Reply with quote

gulivert wrote:
Du coup je dois recompiler plein d'applications ??? Pour que ses locales prennent effets ?
Normalement non.
Peut-être la glibc par sécurité (et encore ...).

Enjoy !
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
gulivert
l33t
l33t


Joined: 17 Jun 2004
Posts: 863
Location: Switzerland

PostPosted: Sat Nov 04, 2006 6:56 pm    Post subject: Reply with quote

Merci effectivment rien à compiler après ses changement.
_________________
Macbook Pro Unibody 9.1 - Kernel 4.4.6 - Awesome 3.5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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