Linux Debian support - LC_xxx error message on firefox install

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > February 2005 > LC_xxx error message on firefox install





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author LC_xxx error message on firefox install
PAsca

2005-02-04, 7:45 am


Hi,
I'm trying to install Firefox, I don't understand this error message.
Could someone help me ?
This message appears if I try to install other software to.

My Debian is in French.
////////
lla-firefox-locale-fr-fr' 'mozilla-firefox' ;echo RESULT=$?
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
mozilla-firefox-gnome-support latex-xft-fonts
The following NEW packages will be installed:
mozilla-firefox mozilla-firefox-locale-fr-fr
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/9858kB of archives.
After unpacking 28.1MB of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr_FR:fr:en_GB:en",
LC_ALL = "fr",
LANG = "fr_FR@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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
Selecting previously deselected package mozilla-firefox.
(Reading database ... 70845 files and directories currently installed.)
Unpacking mozilla-firefox
(from .../mozilla-firefox_1.0+dfsg.1-2_i386.deb) ...
Selecting previously deselected package mozilla-firefox-locale-fr-fr.
Unpacking mozilla-firefox-locale-fr-fr
(from .../mozilla-firefox-locale-fr-fr_1.0lang20041216-2_all.deb) ...
Setting up mozilla-firefox (1.0+dfsg.1-2) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr_FR:fr:en_GB:en",
LC_ALL = "fr",
LANG = "fr_FR@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr_FR:fr:en_GB:en",
LC_ALL = "fr",
LANG = "fr_FR@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Updating mozilla-firefox chrome registry...done.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr_FR:fr:en_GB:en",
LC_ALL = "fr",
LANG = "fr_FR@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Setting up mozilla-firefox-locale-fr-fr (1.0lang20041216-2) ...
Updating mozilla-firefox chrome registry...done.

RESULT=0
/////////
thanks
Sorry fo my english
-------------------------------------
OS : Debian Sarge 3.0
Lucent WIFI Gold Card
Netgear Router
Robert Tucker

2005-02-04, 5:45 pm

PAsca wrote:
> Hi,
> I'm trying to install Firefox, I don't understand this error message.
> Could someone help me ?
> This message appears if I try to install other software to.
>


It might be helpful if you could open a terminal window and type in
"locale"; i.e.

$ locale

and post the output.

Also if you also post the contents of your file: /etc/locale.gen

In any case ensure that you have fr_FR.UTF-8 UTF-8 listed in /etc/locale.gen

Then run locale-gen as root:

# locale-gen

You could then go on to:

"su" back to normal user

# su <user_name>

The type in:

$ export LC_ALL="fr_FR-UTF-8"
$ export LAN=fr_FR
$ export LANGUAGE=fr_FR (or LANGUAGE=fr_FR@euro ??)

Then try launching Firefox:

$firefox

and see if you notice any difference.

You should also be able to set your system to load these settings at
start up - but I'll leave someone else to fill in on that!



Robert Tucker

2005-02-04, 5:45 pm

PAsca wrote:
> Hi,
> I'm trying to install Firefox, I don't understand this error message.
> Could someone help me ?
> This message appears if I try to install other software to.
>


It might be helpful if you could open a terminal window and type in
"locale"; i.e.

$ locale

and post the output.

Also if you also post the contents of your file: /etc/locale.gen

In any case ensure that you have fr_FR.UTF-8 UTF-8 listed in /etc/locale.gen

Then run locale-gen as root:

# locale-gen

You could then go on to:

"su" back to normal user

# su <user_name>

Then type in:

$ export LC_ALL="fr_FR-UTF-8"
$ export LAN=fr_FR
$ export LANGUAGE=fr_FR (or LANGUAGE=fr_FR@euro ??)

Then try launching Firefox:

$firefox

and see if you notice any difference.

You should also be able to set your system to load these settings at
start up - but I'll leave someone else to fill in on that!


Pascal on Debian

2005-02-04, 5:45 pm

> It might be helpful if you could open a terminal window and type in
> "locale"; i.e.
>
> $ locale
>
> and post the output.


LANG=POSIX
LC_CTYPE="fr_FR.ISO-8859-15@euro"
LC_NUMERIC="fr_FR.ISO-8859-15@euro"
LC_TIME="fr_FR.ISO-8859-15@euro"
LC_COLLATE="fr_FR.ISO-8859-15@euro"
LC_MONETARY="fr_FR.ISO-8859-15@euro"
LC_MESSAGES="fr_FR.ISO-8859-15@euro"
LC_PAPER="fr_FR.ISO-8859-15@euro"
LC_NAME="fr_FR.ISO-8859-15@euro"
LC_ADDRESS="fr_FR.ISO-8859-15@euro"
LC_TELEPHONE="fr_FR.ISO-8859-15@euro"
LC_MEASUREMENT="fr_FR.ISO-8859-15@euro"
LC_IDENTIFICATION="fr_FR.ISO-8859-15@euro"
LC_ALL=fr_FR.ISO-8859-15@euro

> Also if you also post the contents of your file: /etc/locale.gen

fr_FR@euro ISO-8859-15
fr_FR ISO-8859-1
fr_FR.UTF-8@euro UTF-8
fr_FR.UTF-8 UTF-8


> In any case ensure that you have fr_FR.UTF-8 UTF-8 listed in
> /etc/locale.gen
> Then run locale-gen as root:
>
> # locale-gen
>
> You could then go on to:
>
> "su" back to normal user
>
> # su <user_name>
>
> Then type in:
>
> $ export LC_ALL="fr_FR-UTF-8"
> $ export LAN=fr_FR
> $ export LANGUAGE=fr_FR (or LANGUAGE=fr_FR@euro ??)

->$ export LANGUAGE=fr_FR@euro
> Then try launching Firefox:
>
> $firefox

same problem, thanx for your help
Pascal
Robert Tucker

2005-02-04, 5:45 pm

I should have said, of course, make sure you have the Debian "locales"
package installed.
[vbcol=seagreen]


So running locale-gen you get:

Generating locales...
fr_FR@euro.ISO-8859-15... done
fr_FR ISO-8859-1... done
fr_FR.UTF-8@euro... done
fr_FR.UTF-8... done
Generation complete

???



I'm not saying I knew it would be a solution. Carrying out these steps I
find I can get OpenOffice to launch in English, Spanish and Chinese. It
looks as if it might have cleared up my Spanish keyboard problem, but
not the one with SCIM - I still keep getting "locale not supported by
operating system" or "locale not supported by X-window system"



Pascal on Debian

2005-02-04, 8:45 pm

on running # locale-gen
I've Got :
Linux:~# locale-gen
Generating locales...
fr_FR.ISO-8859-15@euro... done
fr_FR.ISO-8859-1... done
fr_FR.UTF-8@euro... done
fr_FR.UTF-8... done
Generation complete.
How do I see if I have Debian Locales well installed ?
I can see :
nom
locales
version
2.3.2.ds1-20
état
install ok installed
seems to be installed, do I need more ?

Robert Tucker wrote:

> I should have said, of course, make sure you have the Debian "locales"
> package installed.
>
>
>
> So running locale-gen you get:
>
> Generating locales...
> fr_FR@euro.ISO-8859-15... done
> fr_FR ISO-8859-1... done
> fr_FR.UTF-8@euro... done
> fr_FR.UTF-8... done
> Generation complete
>



>
>
> I'm not saying I knew it would be a solution. Carrying out these steps I
> find I can get OpenOffice to launch in English, Spanish and Chinese. It
> looks as if it might have cleared up my Spanish keyboard problem, but
> not the one with SCIM - I still keep getting "locale not supported by
> operating system" or "locale not supported by X-window system"

???
Robert Tucker

2005-02-05, 7:45 am

'locales 2.3.2.ds1-20' is the latest version according to my Synaptic
Package Manager. One is always advised to try the latest package in
circumstances like these, but I don't know if there is a more recent
unstable version.

Don't know if you've tried:

# dpkgâ€reconfigure locales

or

# update-locale-config

(Look at 'man update-locale-config' first!)

As I said, I keep getting "locale not supported by operating system",
"locale not supported by X-window system" or no indication that anything
is wrong without really knowing what I've set up differently, but still
no SCIM with OOo.

Your error message seems to relate to PERL though, I take it you've read:

www.perl.com/doc/manual/html/pod/perllocale.html

or the French version of it.

Otherwise, yes, I really could do with some clear instructions on locale
settings in Debian myself.
Robert Tucker

2005-02-05, 7:45 am

Robert Tucker wrote:

>
> # su <user_name>
>
> Then type in:
>
> $ export LC_ALL="fr_FR-UTF-8"
> $ export LAN=fr_FR
> $ export LANGUAGE=fr_FR (or LANGUAGE=fr_FR@euro ??)
>


That should have been:



# su <user_name>

Then type in:

$ export LC_ALL="fr_FR-UTF-8"
$ export LANG=fr_FR (or LANG=fr_FR@euro ??)
$ export LANGUAGE=fr_FR (or LANGUAGE=fr_FR@euro ??)




of course.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com