Catalyst::Plugin::Charsets::Japaneseのインストール
参考サイト
http://www.tyzoh.jp/modules/weblog/details.php?blog_id=1257<<
インストール
エラー発生
# perl -MCPAN -e "install Catalyst::Plugin::Charsets::Japanese" ・・・省略 # Failed test at t/11_utf_to_euc.t line 27. Wide character in print at /usr/lib/perl5/5.8.8/Test/Builder.pm line 1265. # got: "日本語" # length: 3 # expected: "\x{e6}\x{97}\x{a5}\x{e6}\x{9c}\x{ac}\x{e8}\x{aa}\x{9e}" # length: 9 # strings begin to differ at char 1 # Looks like you failed 1 test of 4. t/11_utf_to_euc......dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 4 Failed 1/4 tests, 75.00% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/03_sjis_to_euc.t 1 256 4 1 4 t/04_sjis_to_utf8.t 1 256 4 1 4 t/05_sjis_to_sjis.t 1 256 4 1 4 t/06_euc_to_euc.t 1 256 4 1 4 t/07_euc_to_utf8.t 1 256 4 1 4 t/08_euc_to_sjis.t 1 256 4 1 4 t/09_utf_to_euc.t 1 256 4 1 4 t/10_utf_to_utf.t 1 256 4 1 4 t/11_utf_to_euc.t 1 256 4 1 4 Failed 9/12 test scripts. 9/161 subtests failed. Files=12, Tests=161, 12 wallclock secs ( 5.82 cusr + 5.38 csys = 11.20 CPU) Failed 9/12 test programs. 9/161 subtests failed. make: *** [test_dynamic] エラー 1 LYOKATO/Catalyst-Plugin-Charsets-Japanese-0.06.tar.gz /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force
上記のエラーが出てしまう。そういえば、httpdのerror_logも文字化けがしていたっけ。
結局解決できずに放置していたのですが、下記が怪しいのかな?と思って試してみました。
# yum groupinstall 'Japanese Support' ・・・中略 Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: anthy i386 8700b-1.fc6 updates 5.6 M fonts-japanese noarch 0.20061016-1.fc6 updates 29 M kcc i386 2.3-24.2.2 core 26 k lv i386 4.51-8.1 core 423 k man-pages-ja noarch 20060815-2 core 5.0 M nkf i386 2.07-1.1.fc6 core 109 k perl-NKF i386 2.07-1.1.fc6 core 118 k scim-anthy i386 1.2.4-1.fc6 updates 363 k scim-bridge-gtk i386 0.4.10-1.fc6 updates 37 k Installing for dependencies: kasumi i386 2.2-4.fc6 updates 91 k scim i386 1.4.4-37.fc6 updates 524 k scim-bridge i386 0.4.10-1.fc6 updates 97 k scim-libs i386 1.4.4-37.fc6 updates 463 k Transaction Summary ============================================================================= Install 13 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 41 M Is this ok [y/N]:y <=★y ・・・中略 Complete!
結局
関係なかったようです。再度下記を実行しましたが同じエラーが出ました。
>|sh| # perl -MCPAN -e "install Catalyst::Plugin::Charsets::Japanese"
なので、無視してforce インストールしてしましました。
これがどのような影響になるのかわかりませんが。