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 >Received on Thu Mar 03 2005 - 12:27:35 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:29 UTC