From owner-freebsd-questions Thu Mar 2 10:42:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from officemail.starmedia.com (officemail.starmedia.com [209.185.179.153]) by hub.freebsd.org (Postfix) with ESMTP id EE31737C459 for ; Thu, 2 Mar 2000 10:42:50 -0800 (PST) (envelope-from evan@officemail.starmedia.com) Received: from localhost (evan@localhost) by officemail.starmedia.com (8.9.3/8.9.3) with ESMTP id NAA65901; Thu, 2 Mar 2000 13:45:08 -0500 (EST) (envelope-from evan@officemail.starmedia.com) Date: Thu, 2 Mar 2000 13:45:08 -0500 (EST) From: Evan Leon To: freebsd-questions@FreeBSD.org Cc: ben@skunk.org Subject: Strange error messages in Perl Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm running 3.4-RELEASE, and I have been getting the following error message every time Perl is called (a friend of mine has previously seen the same error, but did not know what the cause was): bash-2.03$ perl -e 'print "hello!\n"' perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LC_CTYPE = "en_US", LANG = (unset) are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). hello! bash-2.03$ At first, I thought these messages were urging me to check that the environment variables specified were set to those values, but that is not the case. Just to check, I tried this: bash-2.03$ export LC_ALL="C";!! export LC_ALL=C;perl -e 'print "hello!\n"' perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = "C", LC_CTYPE = "en_US", LANG = (unset) are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). hello! bash-2.03$ I am only asking the BSD list because this problem only started happening when I started using 3.4, and I have never seen anything like it in my work with earlier versions. It doesn't seem to be causing any problems with any programs, I just find it interesting and would like to know what is causing it, and why it's complaining so much. And for the record: bash-2.03$ perl -v perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = "C", LC_CTYPE = "en_US", LANG = (unset) are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). This is perl, version 5.005_03 built for i386-freebsd Thanks in advance, Evan Leon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message