From owner-freebsd-ports Fri Apr 18 08:30:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA12266 for ports-outgoing; Fri, 18 Apr 1997 08:30:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA12257; Fri, 18 Apr 1997 08:30:01 -0700 (PDT) Date: Fri, 18 Apr 1997 08:30:01 -0700 (PDT) Message-Id: <199704181530.IAA12257@freefall.freebsd.org> To: freebsd-ports Cc: From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= Subject: Re: ports/3322: setlocale problem in lang/perl5 Reply-To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR ports/3322; it has been noted by GNATS. From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: sanpei@yy.cs.keio.ac.jp Cc: FreeBSD-gnats-submit@freebsd.org, GNATS Management , freebsd-ports@freefall.freebsd.org Subject: Re: ports/3322: setlocale problem in lang/perl5 Date: Fri, 18 Apr 1997 17:48:03 +0400 (MSD) 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 http://www.nagual.ru/~ache/