[freeside-users] Locale Issues on fresh install
Jan Mulders
jan at baneki.com
Sun Sep 21 09:44:46 PDT 2008
Hello all.
Here's an interesting problem I'm encountering during installation of
Freeside on centos 4.4, following the wiki instructions.
When running the "freeside-setup -d example.com" command, I encountered a
Perl 'missing module' warning, informing me that I didn't have
Number::Format installed:
"error using FS::part_export::radiator (skipping): Can't locate
Number/Format.pm in @INC (.....)"
I summarily fixed this by installing the Number::Format module, which
interestingly moaned up and down about its make tests failing:
=====
+ /usr/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Number::Format
+ /usr/bin/make
cp Format.pm blib/lib/Number/Format.pm
Manifying blib/man3/Number::Format.3pm
+ /usr/bin/make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/format_bytes.......ok
t/format_negative....ok
t/format_number......ok
t/format_picture.....ok
t/format_price.......ok
t/locale.............NOK 3
# Failed test 'marks or euros'
# in t/locale.t at line 14.
t/locale.............NOK 4
# Failed test 'dollars'
# in t/locale.t at line 22.
# got: 'USD 123,456.79'
# expected: 'USD 123,456.79'
# Looks like you failed 2 tests of 4.
t/locale.............dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/object.............ok
t/round..............ok
t/unformat_number....ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/locale.t 2 512 4 2 50.00% 3-4
Failed 1/9 test scripts, 88.89% okay. 2/118 subtests failed, 98.31% okay.
make: *** [test_dynamic] Error 255
error: Bad exit status from /var/tmp/rpm-tmp.88335 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.88335 (%build)
RPM build failed [1] at /usr/bin/cpan2rpm line 1053.
====
I was faintly irresponsible and decided to force it with --make-no-test, and
observed the following behaviour when running "freeside-setup -d example.com
":
Invalid country code: FX chosen at
/usr/lib/perl5/vendor_perl/5.8.5/Locale/SubCountry.pm line 518.
Invalid country code: HK chosen at
/usr/lib/perl5/vendor_perl/5.8.5/Locale/SubCountry.pm line 518.
Invalid country code: NC chosen at
/usr/lib/perl5/vendor_perl/5.8.5/Locale/SubCountry.pm line 518.
Invalid country code: PF chosen at
/usr/lib/perl5/vendor_perl/5.8.5/Locale/SubCountry.pm line 518.
Invalid country code: PW chosen at
/usr/lib/perl5/vendor_perl/5.8.5/Locale/SubCountry.pm line 518.
Invalid country code: RE chosen at
/usr/lib/perl5/vendor_perl/5.8.5/Locale/SubCountry.pm line 518.
Invalid country code: SM chosen at
/usr/lib/perl5/vendor_perl/5.8.5/Locale/SubCountry.pm line 518.
Invalid country code: TO chosen at
/usr/lib/perl5/vendor_perl/5.8.5/Locale/SubCountry.pm line 518.
Everything else worked fine (Aside from the regular nightmare of making
Freeside line up with Apache, which I'm still working on) - anyone have a
guess as to what's broken here?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://420.am/pipermail/freeside-users/attachments/20080921/c4e2e64b/attachment.htm
More information about the freeside-users
mailing list