View previous topic :: View next topic |
Author |
Message |
ThorOdino Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/33011570744cde9cf23e9f.gif)
Joined: 14 Mar 2006 Posts: 103
|
Posted: Thu Jun 29, 2006 7:15 am Post subject: sostituzione local.build con local.gen |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
^Stefano^ Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/18392199445b26cf432a3e.gif)
Joined: 20 Nov 2005 Posts: 394 Location: Ferrara
|
Posted: Thu Jun 29, 2006 7:42 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
bandreabis Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/188011968046698f5684c86.jpg)
Joined: 18 Feb 2005 Posts: 2495 Location: イタリアのロディで
|
Posted: Thu Jun 29, 2006 7:46 am Post subject: |
|
|
Anche io sul mio notebook a casa ho visto la stessa cosa dopo aver cancellato (io, suppongo, con un etc-update ) /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 |
|
![](templates/gentoo/images/spacer.gif) |
TwoMinds Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Jul 2004 Posts: 146 Location: Italy
|
Posted: Thu Jun 29, 2006 7:51 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
bandreabis Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/188011968046698f5684c86.jpg)
Joined: 18 Feb 2005 Posts: 2495 Location: イタリアのロディで
|
Posted: Thu Jun 29, 2006 8:08 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
.:deadhead:. Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/137562117341c040a92de3d.png)
Joined: 25 Nov 2003 Posts: 2963 Location: Milano, Italy
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bandreabis Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/188011968046698f5684c86.jpg)
Joined: 18 Feb 2005 Posts: 2495 Location: イタリアのロディで
|
Posted: Thu Jun 29, 2006 6:37 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|