|
-
January 23rd, 2003, 08:32 PM
#1
Perl Troubles
Anytime I try to use perl I get this 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.
Does anyone know how to fix this.. I have searched google and most of the pages that I found are in spanish and the other ones dont help at all.. I have consulted the man pages but I just dont get it.
Can someone tell me what needs to be done.
Thanks
Violence breeds violence
we need a world court
not a republican with his hands covered in oil and military hardware lecturing us on world security!
-
January 23rd, 2003, 09:05 PM
#2
What's your declaration line? (ie #!/usr/bin/perl -wT)
Is this Windows or Linux perl?
/* You are not expected to understand this. */
-
January 23rd, 2003, 09:40 PM
#3
Something is misconfigured in your perl installation.
These are environment variables telling the perl interpreter
what national language you are writing in for your geographic
locale.
http://www.fnal.gov/docs/products/pe...erllocale.html
Here's a page about it. maybe it will help
I came in to the world with nothing. I still have most of it.
-
January 23rd, 2003, 09:42 PM
#4
Im sorry I was in a hurry and forgot to post the most important part. I am using redhat linux 8 with perl5
Thanks
Violence breeds violence
we need a world court
not a republican with his hands covered in oil and military hardware lecturing us on world security!
-
January 23rd, 2003, 10:09 PM
#5
And what about your declaration line? Just post the first line of your script. On Linux, it should be something like:
#!/usr/bin/perl
However, your Perl binary may be somewhere else. You can find out where by running:
which perl
That should tell you where Perl lives. Post that first line here and we can see if there's anything wrong with your incantation.
/* You are not expected to understand this. */
-
January 23rd, 2003, 10:26 PM
#6
Thanks for that page. I didnt even see that post untill a min ago . I over looked it and just saw roswell1329 post.
I will check out the site. Anyways my perl script beginst with #!/usr/bin/perl and that is where it's located. The scripts seem to work but in a shell if i run perl test.pl it will give those messages and then run the script. so it does work
Violence breeds violence
we need a world court
not a republican with his hands covered in oil and military hardware lecturing us on world security!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|