Date: Fri, 18 Apr 1997 17:48:03 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.ru> To: sanpei@yy.cs.keio.ac.jp Cc: FreeBSD-gnats-submit@freebsd.org, GNATS Management <gnats@freefall.freebsd.org>, freebsd-ports@freefall.freebsd.org Subject: Re: ports/3322: setlocale problem in lang/perl5 Message-ID: <Pine.BSF.3.96.970418174651.427A-100000@nagual.ru> In-Reply-To: <199704181014.TAA01544@lavender.yy.cs.keio.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 Apr 1997 sanpei@yy.cs.keio.ac.jp wrote: > (1) setlocale function is used in perl5. > (2) shared library which has setlocale is libc and libxpg4. > setlocale in libc is only support LANG C. > on the other, setlocale in libxpg4 is support other > LANGs, one is ja_JP.EUC. > (3) And perl5 is linked only libc, not libxpg4. > (4) If set environment variable LANG to ja_JP.EUC, perl5 > outputted some warnings. > > Solution > link libxpg4 (before libc.) It is possible only if perl5 fully support 16bit wide characters and string, if not, it breaks perl5 badly. -- Andrey A. Chernov <ache@null.net> http://www.nagual.ru/~ache/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970418174651.427A-100000>