develooper Front page | perl.perl5.porters | Postings from July 2013

[perl #119077] make test fails on NetBSD 6

Thread Previous
From:
James E Keenan via RT
Date:
July 31, 2013 02:05
Subject:
[perl #119077] make test fails on NetBSD 6
Message ID:
rt-3.6.HEAD-2552-1375236311-422.119077-15-0@perl.org
On Tue Jul 30 01:24:14 2013, kuroishi@iij.ad.jp wrote:
> 
> Hi,
> 
> I got perl-5.18.0.tar.gz, building it with the make. It was OK,
> but make test failed.
> 
> My platform is like below.
> 
>   % uname -a
>   NetBSD xxxxxxxxx 6.0 NetBSD 6.0 (GENERIC) amd64
> 
> 
> And I encountered an error at make test.
> 
> 
> t/run/locale .................................................. #
> Failed test 3 - format() does not look at LC_NUMERIC without 'use
> locale' at ./test.pl line 925
> #      got "perl: warning: Setting locale failed.\nperl: warning:
> Please check that your locale settings:\n\tLC_ALL =
> \"\",\n\tLC_NUMERIC = \"af_ZA.ISO8859-1\",\n\tLANG =
>  \"ja_JP.UTF8\"\n    are supported and installed on your
> system.\nperl: warning: Falling back to the standard locale
> (\"C\").\n4.2"
> # expected "4.2"
> # PROG:
> # format STDOUT =
> # @.#
> # 4.179
> # .
> # write;
> # STATUS: 0
> # Failed test 4 - format() looks at LC_NUMERIC with 'use locale' at
> ./test.pl line 925
> #      got "perl: warning: Setting locale failed.\nperl: warning:
> Please check that your locale settings:\n\tLC_ALL =
> \"\",\n\tLC_NUMERIC = \"af_ZA.ISO8859-1\",\n\tLANG =
>  \"ja_JP.UTF8\"\n    are supported and installed on your
> system.\nperl: warning: Falling back to the standard locale
> (\"C\").\n4.2"
> # expected "4,2"
> # PROG:
> # use locale;
> # format STDOUT =
> # @.#
> # 4.179
> # .
> # write;
> # STATUS: 0
> FAILED at test 3
> 
> How can I fix this?
> 
> Thanks in advance.
> 
> --
> Kuroishi Mitsuo


Diagnostic question:  Have you checked the locale settings as the
warning advised?

LC_ALL
LC_NUMERIC = af_ZA.ISO8859-1
LANG = ja_JP.UTF8

(I'm not a locale expert, but I wonder why you are using South African
Afrikaaner numbers with Japanese language?)

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=119077

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About