Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sostituzione local.build con local.gen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
ThorOdino
Tux's lil' helper
Tux's lil' helper


Joined: 14 Mar 2006
Posts: 103

PostPosted: Thu Jun 29, 2006 7:15 am    Post subject: sostituzione local.build con local.gen Reply with quote

Oggi mi sono accorto di questo log su una delle mie macchine

Jun 22 08:52:09 etodemerzel init: Trying to re-exec init
Jun 22 08:52:12 etodemerzel rc-scripts: You should upgrade your /etc/locales.build to /etc/locale.gen
Jun 22 08:52:12 etodemerzel rc-scripts: and then remove /etc/locales.build when you're done.\n
Jun 22 08:52:12 etodemerzel rc-scripts: Automatically importing locales from /etc/locales.build ...
Jun 22 08:52:12 etodemerzel rc-scripts: You really should do this yourself ...\n

Non ho trovato niente nella doc gentoo in particolar modo in "Gentoo Linux Localization Guide"
Parla sempre di local.build.

Qualcuno ne sà qualcosa?
_________________
www.ThorOdino.eu
FreeTheBikers
Back to top
View user's profile Send private message
^Stefano^
Guru
Guru


Joined: 20 Nov 2005
Posts: 394
Location: Ferrara

PostPosted: Thu Jun 29, 2006 7:42 am    Post subject: Reply with quote

Code:
stefano@genlab ~ $ ls /etc | grep local.
locale.gen
locales.build
localtime
stefano@genlab ~ $

Sembrerebbe dato dall'ultimo aggiornamento delle glibc. ora il punto è; le righe in esso contenute, almeno da me, sono interamente commentate. in questo caso il sistema usa il "vecchio" file oppure urge impostare questo e ricompilare le glibc?

EDIT: come scritto nel file ho lanciato locale-gen ed ecco il risultato:

Code:
genlab stefano # locale-gen
 * You should upgrade your /etc/locales.build to /etc/locale.gen
 * and then remove /etc/locales.build when you're done.

 * Automatically importing locales from /etc/locales.build ...
 * You really should do this yourself ...

 * Generating 4 locales (this might take a while)
 *  (1/4) Generating en_US.ISO-8859-1 ...                                         [ ok ]
 *  (2/4) Generating en_US.UTF-8 ...                                              [ ok ]
 *  (3/4) Generating it_IT.UTF-8 ...                                              [ ok ]
 *  (4/4) Generating it_IT.ISO-8859-15@euro ...                                   [ ok ]
 * Generation complete
genlab stefano #

_________________
8-09 V-Day con una raccolta firme. Vi aspettiamo
Raccolta Firme
Progetto tRicicloPC con Linux
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2495
Location: イタリアのロディで

PostPosted: Thu Jun 29, 2006 7:46 am    Post subject: Reply with quote

Anche io sul mio notebook a casa ho visto la stessa cosa dopo aver cancellato (io, suppongo, con un etc-update :evil: ) /etc/locales.build ed essermi ritrovato nano in inglese.

Non ancora visto la sintassi di /etc/locale.gen.

Andrea
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
TwoMinds
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2004
Posts: 146
Location: Italy

PostPosted: Thu Jun 29, 2006 7:51 am    Post subject: Reply with quote

Code:

twominds@proton ~ $ cat /etc/locale.gen
# /etc/locale.gen: list all of the locales you want to have on your system
#
# The format of each line:
# <locale> <charmap>
#
# Where <locale> is a locale located in /usr/share/i18n/locales/ and
# where <charmap> is a charmap located in /usr/share/i18n/charmaps/.
#
# All blank lines and lines starting with # are ignored.
#
# For the default list of supported combinations, see the file:
# /usr/share/i18n/SUPPORTED
#
# Whenever glibc is emerged, the locales listed here will be automatically
# rebuilt for you.  After updating this file, you can simply run `locale-gen`
# yourself instead of re-emerging glibc.

en_US ISO-8859-1
en_US.UTF-8 UTF-8
it_IT ISO-8859-1
it_IT@euro ISO-8859-15
it_IT.UTF-8 UTF-8


...ma la cosa a mio avviso più interessante e utile è la possibilità di creare i locales con locale-gen quando si vuole senza dover ricompilare le glibc...
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2495
Location: イタリアのロディで

PostPosted: Thu Jun 29, 2006 8:08 am    Post subject: Reply with quote

Quindi come backup dovrei salvarmi /etc/locale.gen creato a partire da /etc/locales.build e cancellare quest'ultimo.
Ho capito bene?
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Thu Jun 29, 2006 6:06 pm    Post subject: Reply with quote

ni, occhio che la sintassi è leggermente diversa [niente + /] in compenso è notevole il fatto di non dover + ricompilare glibc per aver a disposizione una nuova lingua
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2495
Location: イタリアのロディで

PostPosted: Thu Jun 29, 2006 6:37 pm    Post subject: Reply with quote

Ho visto la sintassi, grazie 1000.
Ero convinto, invece erroneamente, che locale.gen venisse modificato in fase di compilazione partendo da locales.build invece niente... comunque ho "risolto" editando direttamente locale.gen senza la "/" e facendomi un backup di quello.

Andrea
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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