Thanks for your reply. Message-id: <rt-3.6.HEAD-2552-1375236311-422.119077-94-0@perl.org> From: "James E Keenan via RT" <perlbug-followup@perl.org> Subject: [perl #119077] make test fails on NetBSD 6 Date: Tue, 30 Jul 2013 19:05:11 -0700 > 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?) I don't know as well. My locale setting is like these. LANG=ja_JP.UTF8 LC_ALL=C # Perhaps, is there some problems on base host? -- Kuroishi MitsuoThread Next