View previous topic :: View next topic |
Author |
Message |
messana Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/145586036859f2b9fa2cffd.jpg)
Joined: 27 Nov 2010 Posts: 92
|
Posted: Mon Aug 13, 2018 5:45 am Post subject: [Risolto]ocalizzazione parziale gentoo plasma systemd |
|
|
Buongiorno a tutti e buona Domenica. Ho terminato l'installazione della mia gentoo plasma systemd ma ho un problemino con la localizzazione.
gentoomex /home/mexkalibur # eselect locale list
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_COLLATE to default locale: No such file or directory
Available targets for the LANG variable:
Code: | GNU nano 2.8.7 File: /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
USE="v4l"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
INPUT_DEVICES="mouse keyboard evdev"
VIDEO_CARDS="nvidia"
MAKEOPTS="-j5"
ACCEPT_LICENSE="*"
LINGUAS="it"
L10N="it"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gentoo.modulix.net/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ |
gentoomex /home/mexkalibur # localectl | grep "System Locale"
System Locale: LANG=it_IT.utf8
gentoomex /home/mexkalibur #
Last edited by messana on Wed Aug 15, 2018 4:26 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fturco Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Dec 2010 Posts: 1181
|
Posted: Mon Aug 13, 2018 10:49 am Post subject: |
|
|
Hai eseguito il comando locale-gen (da root)? Prima però occorre controllare che it_IT.UTF-8 UTF-8 sia presente in /etc/locale.gen. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
messana Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/145586036859f2b9fa2cffd.jpg)
Joined: 27 Nov 2010 Posts: 92
|
Posted: Mon Aug 13, 2018 2:33 pm Post subject: Risp. |
|
|
Ciao, si l'ho fatto è molto strano. Avevo già avuto un problema simile perché erroneamente avevo inserito le " " in /etc/locale.conf ma adesso non capisco proprio come rimediare. Sembra tutto a posto eppure non ho la localizzazione completa ed ho un messaggio di errore set-locale quando uso portage. Adesso sono fuori appena rientro a casa lo incollò nel post. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31461 Location: here
|
Posted: Mon Aug 13, 2018 3:11 pm Post subject: |
|
|
Puoi postare anche cosa ritornano i comandi locale e locale -a _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
messana Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/145586036859f2b9fa2cffd.jpg)
Joined: 27 Nov 2010 Posts: 92
|
Posted: Tue Aug 14, 2018 5:47 am Post subject: |
|
|
Code: | gentoomex /home/mexkalibur # 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=it_IT.US-ASCII
LC_CTYPE="it_IT.US-ASCII"
LC_NUMERIC="it_IT.US-ASCII"
LC_TIME="it_IT.US-ASCII"
LC_COLLATE="it_IT.US-ASCII"
LC_MONETARY="it_IT.US-ASCII"
LC_MESSAGES="it_IT.US-ASCII"
LC_PAPER="it_IT.US-ASCII"
LC_NAME="it_IT.US-ASCII"
LC_ADDRESS="it_IT.US-ASCII"
LC_TELEPHONE="it_IT.US-ASCII"
LC_MEASUREMENT="it_IT.US-ASCII"
LC_IDENTIFICATION="it_IT.US-ASCII"
LC_ALL=
gentoomex /home/mexkalibur # 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
it_IT.utf8
gentoomex /home/mexkalibur # |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31461 Location: here
|
Posted: Tue Aug 14, 2018 6:01 am Post subject: |
|
|
Nel file /etc/locale.gen tu hai presente solo it_IT.utf8 mentre sembra che hai settato it_IT.US-ASCII.
Cosa ritorna il comando eselect locale list? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
messana Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/145586036859f2b9fa2cffd.jpg)
Joined: 27 Nov 2010 Posts: 92
|
Posted: Tue Aug 14, 2018 7:25 am Post subject: |
|
|
Code: | mexkalibur@gentoomex ~ $ su
Password:
gentoomex /home/mexkalibur # eselect locale list
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_COLLATE to default locale: No such file or directory
Available targets for the LANG variable:
[1] C
[2] POSIX
[3] it_IT.utf8 *
[ ] (free form)
gentoomex /home/mexkalibur #
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31461 Location: here
|
Posted: Tue Aug 14, 2018 7:38 am Post subject: |
|
|
E cosa hai impostato in /etc/env.d/02locale ?
EDIT: visto che sei su systemd cosa ritorna il comando localectl list-locales? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
messana Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/145586036859f2b9fa2cffd.jpg)
Joined: 27 Nov 2010 Posts: 92
|
Posted: Tue Aug 14, 2018 8:13 am Post subject: |
|
|
Code: | gentoomex /home/mexkalibur # localectl list-locales
it_IT.utf8
gentoomex /home/mexkalibur #
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31461 Location: here
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fturco Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Dec 2010 Posts: 1181
|
Posted: Tue Aug 14, 2018 9:09 am Post subject: |
|
|
Qual è il contenuto di /etc/locale.conf? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
messana Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/145586036859f2b9fa2cffd.jpg)
Joined: 27 Nov 2010 Posts: 92
|
Posted: Tue Aug 14, 2018 9:57 am Post subject: |
|
|
Code: | # Configuration file for eselect
# This file has been automatically generated.
LANG=it_IT.utf8
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fturco Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Dec 2010 Posts: 1181
|
Posted: Tue Aug 14, 2018 10:55 am Post subject: |
|
|
Penso che il contenuto del tuo file /etc/locale.conf sia sbagliato. Dovrebbe essere:
Inoltre se usi systemd/localectl non c'è bisogno di usare anche eselect. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
messana Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/145586036859f2b9fa2cffd.jpg)
Joined: 27 Nov 2010 Posts: 92
|
Posted: Tue Aug 14, 2018 1:01 pm Post subject: |
|
|
Grande, penso proprio tu abbia trovato l'inghippo. Stasera appena rientro a casa controllo e posto il risultato quasi certamente positivo. Un grazie infinito a te e Fedeliallalinea. Passate un buon ferragosto. ![Wink ;-)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tornadomig Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/178372142653243314b0ebb.png)
Joined: 22 Oct 2011 Posts: 121 Location: Torino
|
Posted: Tue Aug 14, 2018 2:25 pm Post subject: |
|
|
Ciao, dato che sono fresco di installazione con systemd gnome3 riuscita, provo a risponderti, io ho fatto così:
in /etc/portage/make.conf
Code: | LINGUAS="it it_IT"
L10N="it it-IT"
|
in /etc/locale.conf
in /etc/env.d/02locale
in /etc/locale.gen
Code: | #en_US ISO-8859-1
#en_US.UTF-8 UTF-8
#ja_JP.EUC-JP EUC-JP
#ja_JP.UTF-8 UTF-8
#ja_JP EUC-JP
#en_HK ISO-8859-1
#en_PH ISO-8859-1
#de_DE ISO-8859-1
#de_DE@euro ISO-8859-15
#es_MX ISO-8859-1
#fa_IR UTF-8
#fr_FR ISO-8859-1
it_IT@euro ISO-8859-15
it_IT ISO-8859-1
it_IT.UTF-8 UTF-8
#en_US ISO-8859-1
|
Code: | # eselect locale list |
Code: | C
[2] it_IT
[3] it_IT@euro
[4] it_IT.iso88591
[5] it_IT.iso885915@euro
[6] it_IT.utf8 *
[7] POSIX
[ ] (free form) |
E poi ti direi di lasciar stare gli ASCII, deve essere tutto in italiano
Fai poi una bella ricompilata con emerge.
Spero ti risolva il tutto!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
messana Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/145586036859f2b9fa2cffd.jpg)
Joined: 27 Nov 2010 Posts: 92
|
Posted: Tue Aug 14, 2018 6:08 pm Post subject: |
|
|
Niente da fare, forse mi sono bloccato in qualche modo. Magari cambiando lingua e poi tornare all'italiano..... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
messana Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/145586036859f2b9fa2cffd.jpg)
Joined: 27 Nov 2010 Posts: 92
|
Posted: Tue Aug 14, 2018 7:49 pm Post subject: |
|
|
Va bè devo aver pasticciato qualcosa senza essermene reso conto reinstallo e via.... Plasma e gnome systemd non mi hanno mai dato problemi. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xdarma l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/184279067143ff0e9b28a94.jpg)
Joined: 08 Dec 2003 Posts: 720 Location: tra veneto e friuli (italy)
|
Posted: Wed Aug 15, 2018 5:48 am Post subject: |
|
|
Se non hai già piallato tutto e hai un po' di tempo da lasciare al computer che compili, potresti provare con:
per rimuovere eventuali pacchetti obsoleti, seguito da:
Almeno ti eviti di riconfigurare tutto, IMO. _________________ proud user of faKeDE-4.7.3 -> back to windowmaker -> moved to LXQt |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
messana Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/145586036859f2b9fa2cffd.jpg)
Joined: 27 Nov 2010 Posts: 92
|
Posted: Wed Aug 15, 2018 4:29 pm Post subject: |
|
|
Ringrazio tutti per i preziosi consigli, sia chiaro che io non avevo inserito it_IT.US-ASCII.
Ho reinstallato perchè non riuscivo a trovare il filo. Comunque adesso è tutto a posto. Buon proseguimento di ferragosto.
![Wink ;-)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|