Pagina 1 di 3
[Risolto] Gentoo sul mio PC: Non parla Italiano
Inviato: lunedì 2 aprile 2012, 22:21
da Zievatron
Continuiamo in topic specifico.
Dalle prove già fatte si è evidenziato che il comando export è entrato in sciopero.
Ora bisognerà capire quali sono le sue richieste per tornare al lavoro.
Re: Gentoo sul mio PC: Non parla Italiano
Inviato: lunedì 2 aprile 2012, 22:49
da conoscenza
Dai questi comandi da Gentoo... non da chroot!
riportali tutti....
allora diventa root:
su -
e fai vedere
cat /etc/make.conf
cat /etc/env.d/02locale (è zero-due, non O2 -otranto- )
ls -al /etc/env.d/
cat /usr/share/locale/locale.alias
cat /etc/locale.gen
echo $LANG
locale
locale -a
poi apri un altro terminale e restando utente fai vedere:
echo $LANG
locale
locale -a
Re: Gentoo sul mio PC: Non parla Italiano
Inviato: martedì 3 aprile 2012, 19:23
da Zievatron
Da root
Codice: Seleziona tutto
localhost ~ # cat /etc/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 flags that were used in addition to what is provided by the
# profile used for building.
USE="mmx sse sse2 X Xaw3d a52 aac aalib alsa ao bash-completion bcmath gtk xorg glibc-omitfp mpi smp cups custom-cflags \
custom-optimization custom-cpuopts xvmc gtk extras audiofile cairo cdda cddb cdparanoia cdr cgi cracklib cdr css cxx dbus \
dga djvu dri gdu device-mapper gd posix disk-partition automount icu ntfs fat thunar gpm gnome mysql sql webkit xulrunner \
kdrive dts dv dvb dvd dvdr eds encode evo exif axpat fastcgi ffmpeg fftw flac foomaticdb fortran gdbm policykit sqlite hddtemp gpm \
ggi gimp ginac gimp gnutls gphoto2 gps gsm gls graphviz gstreamer hal java jbig jpeg jpeg2k lame twolame libv4l libv4l2 libgda \
lzo matroska mng mp3 mp4 mpeg mtp mplayer musepack musicbrainz nas nptl openal ogg openexr openmp oss pch perl pda pcre pcntl \
pdf plasma posix png prelude ppds python pulseaudio qt4 raw scanner semantic-desktop shorten smartcard sndfile speex spell ssl svg \
svga tcl tk threads syslog subversion glib mpi-threads fuse theora v4l v4l2 vcd win32codecs vorbis wapack wmf x264 xcb xft \
xine xpm xv xvid optimized-qmake fontconfig imagemagick mjpeg floppy xrandr midi timidity curl libass libcaca vdr faac faad \
schroedinger glitz cleartype qt3support mono network static-libs opengl -mmxext -3dnow -3dnowext lm_sensors sip wav networkmanager \
dso php_targets_php5-2 embedded zip -zlib"
INPUT_DEVICES="mouse keyboard evdev"
VIDEO_CARDS="radeon"
MAKEOPTS="-j2"
ACCEPT_LICENSE="@EULA"
EMERGE_DEFAUL_OPTS="--autounmask=n"
LINGUAS="it"
localhost ~ # cat /etc/env.d/02locale
LC_CTYPE=it_IT.UTF-8
localhost ~ # ls -al /etc/env.d/
total 128
drwxr-xr-x 5 root root 4096 Mar 31 12:59 .
drwxr-xr-x 76 root root 4096 Apr 3 21:13 ..
-rw-r--r-- 1 root root 221 Jun 18 2011 00basic
-rw-r--r-- 1 root root 37 Mar 7 04:04 00glibc
-rw-r--r-- 1 root root 21 Mar 22 11:51 02locale
-rw-r--r-- 1 root root 145 Mar 26 13:14 03opengl
-rw-r--r-- 1 root root 108 Feb 16 08:14 04multilib
-rw-r--r-- 1 root root 130 Feb 16 04:44 05binutils
-rw-r--r-- 1 root root 231 Mar 6 23:29 05gcc-x86_64-pc-linux-gnu
-rw-r--r-- 1 root root 37 Feb 16 08:11 09sandbox
-rw-r--r-- 1 root root 26 Mar 25 18:24 20ant
-rw-r--r-- 1 root root 79 Jan 14 2009 20java-config
-rw-r--r-- 1 root root 31 Mar 25 20:36 22javacc
-rw-r--r-- 1 root root 81 Mar 8 20:40 30xdg-data-local
-rw-r--r-- 1 root root 33 Mar 25 20:41 35hsqldb
-rw-r--r-- 1 root root 44 Mar 7 00:23 37fontconfig
-rw-r--r-- 1 root root 52 Mar 7 01:14 44qt4
-rw-r--r-- 1 root root 59 Mar 8 20:49 50gconf
-rw-r--r-- 1 root root 14 Mar 8 20:25 50gtk2
-rw-r--r-- 1 root root 36 Mar 8 21:48 50ncurses
-rw-r--r-- 1 root root 59 Mar 13 21:35 51dconf
-rw-rw---- 1 firebird firebird 50 Mar 10 13:23 70firebird
-rw-r--r-- 1 root root 47 Mar 8 21:49 70less
-rw-r--r-- 1 root root 70 Mar 10 19:41 80subversion-extras
-rw-r--r-- 1 root root 94 Mar 31 12:59 90nss
-rw-r--r-- 1 root root 54 Mar 8 20:40 90xdg-data-base
-rw-r--r-- 1 root root 48 Feb 16 10:20 98ca-certificates
-rw-r--r-- 1 root root 42 Jan 6 2011 99gentoolkit-env
-rw-r--r-- 1 root root 31 Mar 13 22:04 99xdg-gdm
drwxr-xr-x 2 root root 4096 Mar 7 04:22 binutils
drwxr-xr-x 2 root root 4096 Mar 7 06:52 gcc
drwxr-xr-x 2 root root 4096 Feb 16 08:17 python
localhost ~ # cat /usr/share/locale/locale.alias
# Locale name alias data base.
# Copyright (C) 1996-2001,2003,2007 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# The format of this file is the same as for the corresponding file of
# the X Window System, which normally can be found in
# /usr/lib/X11/locale/locale.alias
# A single line contains two fields: an alias and a substitution value.
# All entries are case independent.
# Note: This file is obsolete and is kept around for the time being for
# backward compatibility. Nobody should rely on the names defined here.
# Locales should always be specified by their full name.
bokmal nb_NO.ISO-8859-1
bokm�l nb_NO.ISO-8859-1
catalan ca_ES.ISO-8859-1
croatian hr_HR.ISO-8859-2
czech cs_CZ.ISO-8859-2
danish da_DK.ISO-8859-1
dansk da_DK.ISO-8859-1
deutsch de_DE.ISO-8859-1
dutch nl_NL.ISO-8859-1
eesti et_EE.ISO-8859-1
estonian et_EE.ISO-8859-1
finnish fi_FI.ISO-8859-1
fran�ais fr_FR.ISO-8859-1
french fr_FR.ISO-8859-1
galego gl_ES.ISO-8859-1
galician gl_ES.ISO-8859-1
german de_DE.ISO-8859-1
greek el_GR.ISO-8859-7
hebrew he_IL.ISO-8859-8
hrvatski hr_HR.ISO-8859-2
hungarian hu_HU.ISO-8859-2
icelandic is_IS.ISO-8859-1
italian it_IT.ISO-8859-1
japanese ja_JP.eucJP
japanese.euc ja_JP.eucJP
ja_JP ja_JP.eucJP
ja_JP.ujis ja_JP.eucJP
japanese.sjis ja_JP.SJIS
korean ko_KR.eucKR
korean.euc ko_KR.eucKR
ko_KR ko_KR.eucKR
lithuanian lt_LT.ISO-8859-13
no_NO nb_NO.ISO-8859-1
no_NO.ISO-8859-1 nb_NO.ISO-8859-1
norwegian nb_NO.ISO-8859-1
nynorsk nn_NO.ISO-8859-1
polish pl_PL.ISO-8859-2
portuguese pt_PT.ISO-8859-1
romanian ro_RO.ISO-8859-2
russian ru_RU.ISO-8859-5
slovak sk_SK.ISO-8859-2
slovene sl_SI.ISO-8859-2
slovenian sl_SI.ISO-8859-2
spanish es_ES.ISO-8859-1
swedish sv_SE.ISO-8859-1
thai th_TH.TIS-620
turkish tr_TR.ISO-8859-9
localhost ~ # 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
#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
#fr_FR@euro ISO-8859-15
#it_IT ISO-8859-1
it_IT.UTF-8 UTF-8
localhost ~ # echo $LANG
localhost ~ # locale
LANG=
LC_CTYPE=it_IT.UTF-8
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
localhost ~ # locale -a
C
POSIX
it_IT.utf8
Da user:
Codice: Seleziona tutto
unknow@localhost ~/Desktop $ echo $LANG
unknow@localhost ~/Desktop $ locale
LANG=
LC_CTYPE=it_IT.UTF-8
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
unknow@localhost ~/Desktop $ locale -a
C
POSIX
it_IT.utf8
Re: Gentoo sul mio PC: Non parla Italiano
Inviato: martedì 3 aprile 2012, 21:04
da conoscenza
Bene.
Ora dai:
su -
emerge --sync
e
emerge -DNu world
riporta le ultime righe di quest'ultimo comando e dimmi quanti pacchetti ha aggiornato.
Re: Gentoo sul mio PC: Non parla Italiano
Inviato: mercoledì 4 aprile 2012, 23:16
da Zievatron
3 pacchetti:
Codice: Seleziona tutto
>>> Installing (3 of 3) sys-apps/man-pages-3.36
* If you don't have a makewhatis cronjob, then you
* should update the whatis database yourself:
* # makewhatis -u
* Messages for package sys-apps/man-pages-3.36:
* If you don't have a makewhatis cronjob, then you
* should update the whatis database yourself:
* # makewhatis -u
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
* After world updates, it is important to remove obsolete packages with
* emerge --depclean. Refer to `man emerge` for more information.
Re: Gentoo sul mio PC: Non parla Italiano
Inviato: giovedì 5 aprile 2012, 0:02
da conoscenza
Oltre alle pagine man ricordi cos'altro c'era?
qlop -l | grep -B 2 man-pages-3.36
poi procediamo con il definire la variabile LANG.
Re: Gentoo sul mio PC: Non parla Italiano
Inviato: giovedì 5 aprile 2012, 0:17
da Zievatron
man-pages-3.36 era scritto in rosso invece che in verde. Cosa significa?
Codice: Seleziona tutto
localhost ~ # qlop -l | grep -B 2 man-pages-3.36
Thu Apr 5 01:12:08 2012 >>> media-libs/libpng-1.5.10
Thu Apr 5 01:13:55 2012 >>> media-libs/raptor-2.0.7
Thu Apr 5 01:14:23 2012 >>> sys-apps/man-pages-3.36
Re: Gentoo sul mio PC: Non parla Italiano
Inviato: giovedì 5 aprile 2012, 0:26
da conoscenza
Perchè ho chiesto a grep di trovarlo! Quindi quando l'ha trovato te lo segnava in rosso.
Con l'opzione -B di grep, gli dici quante riga sopra da quel che trova ti deve far vedere....
da utente dai e fai vedere tutto quel che ti risponde:
export LANG="it_IT.UTF-8"
export LC_COLLATE="C"
source ~/.bashrc
Poi mi fai vedere, sempre da utente:
echo $LANG
Re: Gentoo sul mio PC: Non parla Italiano
Inviato: giovedì 5 aprile 2012, 0:33
da Zievatron
Codice: Seleziona tutto
unknow@localhost ~/Desktop $ export LANG="it_IT.UTF-8"
unknow@localhost ~/Desktop $ export LC_COLLATE="C"
unknow@localhost ~/Desktop $ source ~/.bashrc
unknow@localhost ~/Desktop $ echo $LANG
it_IT.UTF-8
unknow@localhost ~/Desktop $
Re: Gentoo sul mio PC: Non parla Italiano
Inviato: giovedì 5 aprile 2012, 0:36
da conoscenza
bene.
Fai vedere
locale
e
locale -a