From owner-freebsd-current@FreeBSD.ORG Thu Mar 3 13:27:35 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9666816A4CE; Thu, 3 Mar 2005 13:27:35 +0000 (GMT) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.150.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3E7943D66; Thu, 3 Mar 2005 13:27:34 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id DF3924EFD37; Thu, 3 Mar 2005 21:27:33 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id D309D4EFCD1; Thu, 3 Mar 2005 21:27:33 +0800 (CST) Date: Thu, 3 Mar 2005 21:27:33 +0800 (CST) From: Tai-hwa Liang To: Ruslan Ermilov In-Reply-To: <20050303091231.GA95832@ip.net.ua> Message-ID: <0503032125280.27085@www.mmlab.cse.yzu.edu.tw> References: <20050226223215.GF93910@ip.net.ua> <05030310251113.18739@www.mmlab.cse.yzu.edu.tw> <20050303091231.GA95832@ip.net.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: current@freebsd.org Subject: Re: HEADS UP: LC_CTYPE format changed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 13:27:35 -0000 On Thu, 3 Mar 2005, Ruslan Ermilov wrote: > On Thu, Mar 03, 2005 at 10:28:41AM +0800, Tai-hwa Liang wrote: >> On Sun, 27 Feb 2005, Ruslan Ermilov wrote: >>> I've just committed changes that modify the format of LC_CTYPE >>> files. Next time when you buildworld/installworld, please do >>> it without -DNO_CLEAN, or at least remove the contents of >>> /usr/obj/usr/src/share/mklocale/. >> >> Not sure if I missed something. But after making a clean buildworld >> & installworld, perl always pops with following warnings: >> >> perl: warning: Setting locale failed. >> perl: warning: Please check that your locale settings: >> LC_ALL = (unset), >> LC_CTYPE = "zh_TW.Big5", >> LANG = "zh_TW.Big5" >> are supported and installed on your system. >> perl: warning: Falling back to the standard locale ("C"). >> >> Re-building perl5.8 from ports doesn't seem to help. >> > I don't know what's your problem (make sure your `which perl` > isn't linked to libc.so.5), but it definitely works here: > > : $ hostname > : sledge.freebsd.org > : $ uname -mir > : 6.0-CURRENT amd64 SLEDGE > : $ grep __FreeBSD_version /usr/include/osreldate.h > : #undef __FreeBSD_version > : #define __FreeBSD_version 600019 > : $ env LC_ALL="unknown" perl -e exit > : perl: warning: Setting locale failed. > : perl: warning: Please check that your locale settings: > : LC_ALL = "unknown", > : LANG = (unset) > : are supported and installed on your system. > : perl: warning: Falling back to the standard locale ("C"). > : $ env LC_ALL="zh_TW.Big5" perl -e exit > : $ > > (Also check /etc/libmap.conf.) > uname -mir 6.0-CURRENT i386 f22-r40 > grep __FreeBSD_version /usr/include/osreldate.h #undef __FreeBSD_version #define __FreeBSD_version 600019 > ls -la /etc/libmap.conf ls: /etc/libmap.conf: No such file or directory > ldd `which perl` /usr/bin/perl: libperl.so => /usr/local/lib/perl5/5.8.6/mach/CORE/libperl.so (0x28075000) libm.so.3 => /lib/libm.so.3 (0x28176000) libcrypt.so.2 => /lib/libcrypt.so.2 (0x2818a000) libutil.so.4 => /lib/libutil.so.4 (0x281a2000) libc.so.6 => /lib/libc.so.6 (0x281ae000) > env LC_ALL="unknown" perl -e exit perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = "unknown", LC_CTYPE = "zh_TW.Big5", LANG = "zh_TW.Big5" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). > env LC_ALL="zh_TW.Big5" perl -e exit perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = "zh_TW.Big5", LC_CTYPE = "zh_TW.Big5", LANG = "zh_TW.Big5" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). > unsetenv LC_CTYPE && env LC_ALL="zh_TW.Big5" perl -e exit perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = "zh_TW.Big5", LANG = "zh_TW.Big5" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). > unsetenv LANG && env LC_ALL="zh_TW.Big5" perl -e exit perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = "zh_TW.Big5", LANG = (unset) are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). > env LC_ALL="" perl -e exit >