LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 05-01-2006, 11:54 AM   #1
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Rep: Reputation: 15
warnings on perl - solved


when im trying to run a perl script i got thi s warning :

Code:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LANG = "en_US.utf8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C")
does anyone knows what does it mean and how can i fix it?

Last edited by doronunu; 05-02-2006 at 07:10 AM.
 
Old 05-01-2006, 12:52 PM   #2
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
You should install the "locales" package.
 
Old 05-01-2006, 01:02 PM   #3
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Original Poster
Rep: Reputation: 15
i cant find any "locales" packages on my distro.
by the way im using arch linux.
 
Old 05-01-2006, 01:05 PM   #4
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Quote:
Originally Posted by doronunu
i cant find any "locales" packages on my distro.
by the way im using arch linux.
Ah, well - that would have been the answer on Ubuntu (or Debian). I don't know anything about Arch.
 
Old 05-01-2006, 01:32 PM   #5
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Original Poster
Rep: Reputation: 15
anyone else?
 
Old 05-01-2006, 02:13 PM   #6
wrj
Member
 
Registered: Aug 2003
Location: Canada/US
Distribution: Ubuntu, Arch
Posts: 84

Rep: Reputation: 15
try perl-locale-gettext in extra
 
Old 05-01-2006, 03:00 PM   #7
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Original Poster
Rep: Reputation: 15
perl-locale-gettext = Permits access from Perl to the gettext() family of functions.
so this is not the answer.
but tnx.
i allrady found the answar. just do man locale and ull find it to. its not a package, its a local definition mostlly reffer to the regional settings.
 
Old 05-01-2006, 06:32 PM   #8
DanTaylor
Member
 
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Rep: Reputation: 30
I can't remember exactly but there is a way you can modify those settings through the perl interpreter. I would suggest doing a perldoc for 'locale' that should bring up the command you need to run.
 
Old 05-02-2006, 07:09 AM   #9
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Original Poster
Rep: Reputation: 15
http://perldoc.perl.org/perllocale.html

this is the answer. tnx.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find warnings... kkempter Suse/Novell 1 04-12-2006 11:33 AM
Gdk warnings BroX Slackware 5 03-13-2006 05:06 PM
Warnings from make Conjurer Linux - Software 1 11-12-2005 02:10 AM
removing warnings h/w Programming 6 01-26-2004 05:06 PM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM


All times are GMT -5. The time now is 09:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration