After RH 7.2 upgrade -- "perl: warning: Setting locale failed"

After RH 7.2 upgrade -- "perl: warning: Setting locale failed"

Post by David Gibb » Fri, 16 Nov 2001 13:59:23



I just upgraded to RH 7.2 and am encountering a problem with perl ...
whenever I run a perl program, I get the following message...


perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

I'm running perl v5.6.0 built for i386-linux

Any idea why this might be happening?

I didn't get this message when I was running RH 7.1.

Thanks!

dm

 
 
 

After RH 7.2 upgrade -- "perl: warning: Setting locale failed"

Post by Derek Brya » Fri, 16 Nov 2001 22:35:20


edit /etc/bashrc
Add the lines:

LC_ALL=C
export LC_ALL


> I just upgraded to RH 7.2 and am encountering a problem with perl ...
> whenever I run a perl program, I get the following message...


> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = (unset),
> LC_ALL = (unset),
> LANG = "en_US"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").

> I'm running perl v5.6.0 built for i386-linux

> Any idea why this might be happening?

> I didn't get this message when I was running RH 7.1.

> Thanks!

> dm


 
 
 

1. After RH 7.2 upgrade -- "perl: warning: Setting locale failed"

I just upgraded to RH 7.2 and am encountering a problem with perl ... whenever I run a perl program, I get the following message...


perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

I'm running perl v5.6.0 built for i386-linux

Any idea why this might be happening?

I didn't get this message when I was running RH 7.1.

Thanks!

dm

2. cannot mount external scsi drive under suse5.3

3. command not found after RH 7.2 kernel upgrade via "Upgrade Agent"

4. Does anyone have PPP working RH7.2 to AIX4.3

5. RH 7.2: mkbootdisk fails, "No space left on device"

6. Afterstep WM and RH5

7. "Programming Perl" vs "Learning Perl", which 1 is better?

8. Bash readline problem

9. GETSERVBYNAME()????????????????????"""""""""""""

10. perl: warning: Setting locale failed

11. perl: warning: Setting locale failed. ???

12. perl: warning: Setting locale failed

13. 7.2 booting gives "warning: fat32 support is ALPHA" ??