OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Linux Applications => Topic started by: cweaver87 on March 01, 2005, 04:51:33 pm
-
I have recently installed Perl on my Zaurus 6000L and find that when I execute a script as root there are no problems but when I attempt to run scripts as “zaurus†I receive the following error:
perl -v perl: warning: setting locale failed.
perl: warning: please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en"
are supported and installed on your system. perl: warning: falling back to the standard locale ("C").
This is perl, v5.6.1 built for arm-linux
A check on Google revealed this to be a common error but all of the solutions presented don’t seem to translate into viable ones for the Zaurus. Any help or advice would be most welcome.
-
I have recently installed Perl on my Zaurus 6000L and find that when I execute a script as root there are no problems but when I attempt to run scripts as “zaurus†I receive the following error:
perl -v perl: warning: setting locale failed.
perl: warning: please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en"
are supported and installed on your system. perl: warning: falling back to the standard locale ("C").
This is perl, v5.6.1 built for arm-linux
A check on Google revealed this to be a common error but all of the solutions presented don’t seem to translate into viable ones for the Zaurus. Any help or advice would be most welcome.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=69017\")
From
[a href=\"http://forums.gentoo.org/viewtopic-t-282061-highlight-perl+locale.html]this post[/url] in the gentoo forums I gather that this is a problem with compiling glibc (I also saw another post mentioning that recompiling glibc solved the problem). What ROM are you using? You probably should ask the developers of it for help...
Cheers
Philipp
-
Add the following to your .bashrc or .profile file:
LANGUAGE="en"
LC_ALL="C"
LANG="en"
export LANGUAGE LC_ALL LANG