Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I get this error when I try to execute one of my perl programs. Can anyone tell me what these settings should be.
I set the LANG one myself to en_US but I am not sure if that is correct.
I am english speaking (duh) from the united states. Please let me know of any other related variables that I should check that may cause related problems.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en",
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
This is happening on a LInux Redhat 7.0 system with all of the software updates applied.
[root@lockbox /usr/share/locale]# ls
C da en es_ES fr hr it l10n no pt_BR sk sv zh br de en_GB et ga hu ja lt no@nynorsk pt_PT sl tr zh_CN.GB2312 ca de_AT eo eu gl id ja_JP.eucJP nl pl ro sp uk zh_CN.gb2312
cs el es fi gr_GR is ko nn pt ru sr wa zh_TW.Big5
[root@lockbox /usr/share/locale]# cd en
[root@lockbox /usr/share/locale/en]# ls
man
[root@lockbox /usr/share/locale/en]#
I read over the page but things didn't seem to make much sense as I know nothing at all about perl. It appears to me like I am missing the locale files that I need. Any extra help would be appreciated.
It looks like it was an error in my perl upgrade, I made a couple of edits in my /etc directory and all was fine. I edited things here because redhat put some scripts into /etc/sysconfig that sets these parameters.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.