From owner-freebsd-questions Wed Feb 16 19:41: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id 0C67D37B5DD for ; Wed, 16 Feb 2000 19:41:05 -0800 (PST) (envelope-from mark@linkline.com) Received: from linkline.com (mail.linkline.com [207.67.165.2]) by builder.freebsd.org (Postfix) with ESMTP id 90DF8132F3 for ; Wed, 16 Feb 2000 19:40:18 -0800 (PST) Received: from linkline.com [209.245.75.128] by linkline.com with ESMTP (SMTPD32-6.00) id AC9316C902A4; Wed, 16 Feb 2000 19:35:47 -0800 Message-ID: <38AB6CC4.3FA11046@linkline.com> Date: Wed, 16 Feb 2000 19:36:36 -0800 From: mark X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@Freebsd.org Subject: perl:Warning setlocale failed? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi all, I've been getting this warning regularly both by perl and Gdk. I see it when X/gnome closes. perl (or Gdk): warning: setting locale failed. perl : 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") I'm using 3.4 release #0 x86 with a generic kernel. I have the /usr/share/locale directory and it's full of languages. I've also read the 'man setlocale' but I'm not sure if I'm on the right track. And now the question . . . Are 'LC_ALL, LC_CTYPE, and LANG' environment variables that aren't set, hence the error messages? If so, where do I point them to? the /usr/share/locale/(my language dir)? I noticed that each directory has a 'LC_COLLATE,LC_CTYPE, and LC_TIME' however no 'LC_ALL, or LANG'?? I'm 'assuming' that i could set these in a global file (rc.conf?) i apologize for being long winded, but i've just jumped the linux ship, over to freeBSD, and i'm not sure which info is relevant. If anything else is needed to clarify the problem, please let me know. thx in advance, mark haley [insert clever quote here] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message