From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 9 04:19:38 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E3A91065977 for ; Thu, 9 Jul 2009 04:19:38 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out3.uni-muenster.de (ZIVM-OUT3.UNI-MUENSTER.DE [128.176.192.18]) by mx1.freebsd.org (Postfix) with ESMTP id 1DFEA8FC23 for ; Thu, 9 Jul 2009 04:19:37 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) X-IronPort-AV: E=Sophos;i="4.42,370,1243807200"; d="scan'208";a="7939106" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER04.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay3.uni-muenster.de with ESMTP; 09 Jul 2009 00:52:23 +0200 Received: by ZIVMAILUSER04.UNI-MUENSTER.DE (Postfix, from userid 149459) id 496E01B008B; Thu, 9 Jul 2009 00:52:23 +0200 (CEST) Date: Thu, 09 Jul 2009 00:52:18 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=+permail-2009070822521880e26a0b00007832-a_best01+ Subject: Gtk-WARNING **: Locale not supported by C library. (fwd) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2009 04:19:39 -0000 This is a MIME encoded multipart message. --+permail-2009070822521880e26a0b00007832-a_best01+ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hi there. i wrote this message to freebsd-questions@ but didn't get a reply. maybe someone here can help me with this problem. cheers. alex --+permail-2009070822521880e26a0b00007832-a_best01+ Content-Type: message/rfc822; charset=us-ascii Content-Description: Gtk-WARNING **: Locale not supported by C library. (fwd) Date: Wed, 01 Jul 2009 23:10:46 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster Subject: Gtk-WARNING **: Locale not supported by C library. To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-UID: 155 Status: RO Content-Length: 2115 hi there, i've been getting this warning for ages now: (process:7757): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. and really like to get rid of it. i searched google but couldn't find a real solution. my locale settings are: LANG=C LC_CTYPE=de_DE.ISO8859-15 LC_COLLATE=en_GB.ISO8859-15 LC_TIME=de_DE.ISO8859-15 LC_NUMERIC=de_DE.ISO8859-15 LC_MONETARY=de_DE.ISO8859-15 LC_MESSAGES=en_GB.ISO8859-15 LC_ALL= i've tried various settings and the only way to get rid of the warning is settings LANG and LC_ALL to "C". if any of the variables isn't set to C the warning will come up again. the app that is triggering the warning is firefox. the strange thing is that all other gtk apps start without this warning except the acrobat reader which is however a linux app. i thought maybe the problem is being caused by linux-gtk2 port. i'm using the native freebsd firefox version but since i'm using linux plugins in firefox they might be causing the gtk warning. i did a `chroot /compat/linux bash` and ran locale (the linux version). this is the output: locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=C LC_CTYPE=de_DE.ISO8859-15 LC_NUMERIC=de_DE.ISO8859-15 LC_TIME=de_DE.ISO8859-15 LC_COLLATE=en_GB.ISO8859-15 LC_MONETARY=de_DE.ISO8859-15 LC_MESSAGES=en_GB.ISO8859-15 LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL= if i set LANG and LC_ALL to "C" under the native freebsd ENV and switch to the linux ENV locale's (linux version) output looks just fine: LANG=C LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=C so i guess the GTK warning is in fact being triggered by the linux-gtk2 port. can anybody tell me what's wrong with the linux ENV locale settings? thanks in advance. alex --+permail-2009070822521880e26a0b00007832-a_best01+--