无法在CentOS 5上使用cpan安装模块Unicode :: Map8

时间:2014-09-30 21:18:15

标签: perl unicode cpan

我正在尝试使用2.6.18-371.9.1.el5 kernel在CentOS5上使用cpan安装Unicode::Map8模块。因此,当cpan> install Unicode::Map8sudo时,我得到以下结果:

Running install for module Unicode::Map8
Running make for G/GA/GAAS/Unicode-Map8-0.13.tar.gz
Is already unwrapped into directory /root/.cpan/build/Unicode-Map8-0.13
Has already been processed within this session
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/callback....ok                                                             
t/compat......ok                                                             
t/map8........dubious                                                        
    Test returned status 0 (wstat 11, 0xb)
t/unistr......ok                                                             
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/map8.t       0    11    ??   ??       %  ??
Failed 1/4 test scripts, 75.00% okay. 0/6 subtests failed, 100.00% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

perl版本为v5.8.8。 我在我的机器和运行相同配置的服务器上尝试了这个。 任何想法可能是什么原因?

1 个答案:

答案 0 :(得分:1)

Unicode :: Map8作为EPEL repository中Centos的预构建包提供。一旦您将系统配置为使用EPEL(这是值得做的,因为他们有更多的标准Centos repos的CPAN模块),您可以使用yum安装它。

$ sudo yum install perl-Unicode-Map8