Author Topic: Perl Error  (Read 4543 times)

cweaver87

  • Newbie
  • *
  • Posts: 1
    • View Profile
Perl Error
« 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.

Pyrates

  • Full Member
  • ***
  • Posts: 198
    • View Profile
    • http://www.pipsfrank.de
Perl Error
« Reply #1 on: March 02, 2005, 04:23:59 am »
Quote
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]

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
\" ... and the Vogon will do things to you that you wish you\'d never been born, or, if you\'re a clearer minded thinker, that the Vogon had never been born.\"

doseas

  • Full Member
  • ***
  • Posts: 207
    • View Profile
    • http://
Perl Error
« Reply #2 on: March 03, 2005, 01:56:34 am »
Add the following to your .bashrc or .profile file:
Code: [Select]
LANGUAGE="en"
LC_ALL="C"
LANG="en"

export LANGUAGE LC_ALL LANG