我遇到安装Net::Address::Ethernet
我无法弄清楚我需要做些什么来解决它?
[root@host logs]# cpan Net::Address::Ethernet
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Fri, 23 Nov 2012 00:07:03 GMT
Running install for module Net::Address::Ethernet
Running make for M/MT/MTHURN/Net-Address-Ethernet-1.114.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/M/MT/MTHURN/Net-Address-Ethernet-1.114.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Net-Address-Ethernet-1.114/
Net-Address-Ethernet-1.114/Changes
Net-Address-Ethernet-1.114/inc/
Net-Address-Ethernet-1.114/inc/Module/
Net-Address-Ethernet-1.114/inc/Module/Install/
Net-Address-Ethernet-1.114/inc/Module/Install/Base.pm
Net-Address-Ethernet-1.114/inc/Module/Install/Can.pm
Net-Address-Ethernet-1.114/inc/Module/Install/Fetch.pm
Net-Address-Ethernet-1.114/inc/Module/Install/Makefile.pm
Net-Address-Ethernet-1.114/inc/Module/Install/Metadata.pm
Net-Address-Ethernet-1.114/inc/Module/Install/Win32.pm
Net-Address-Ethernet-1.114/inc/Module/Install/WriteAll.pm
Net-Address-Ethernet-1.114/inc/Module/Install.pm
Net-Address-Ethernet-1.114/lib/
Net-Address-Ethernet-1.114/lib/Net/
Net-Address-Ethernet-1.114/lib/Net/Address/
Net-Address-Ethernet-1.114/lib/Net/Address/Ethernet.pm
Net-Address-Ethernet-1.114/LICENSE
Net-Address-Ethernet-1.114/Makefile.PL
Net-Address-Ethernet-1.114/MANIFEST
Net-Address-Ethernet-1.114/META.yml
Net-Address-Ethernet-1.114/README
Net-Address-Ethernet-1.114/t/
Net-Address-Ethernet-1.114/t/import_0.t
Net-Address-Ethernet-1.114/t/import_all.t
Net-Address-Ethernet-1.114/t/import_ga.t
Net-Address-Ethernet-1.114/t/normal.t
Net-Address-Ethernet-1.114/t/pod-coverage.t
Net-Address-Ethernet-1.114/t/pod.t
Removing previously used /root/.cpan/build/Net-Address-Ethernet-1.114
CPAN.pm: Going to build M/MT/MTHURN/Net-Address-Ethernet-1.114.tar.gz
Cannot determine perl version info from lib/Net/Address/Ethernet.pm
Checking if your kit is complete...
Looks good
Writing Makefile for Net::Address::Ethernet
Writing MYMETA.yml and MYMETA.json
cp lib/Net/Address/Ethernet.pm blib/lib/Net/Address/Ethernet.pm
Manifying blib/man3/Net::Address::Ethernet.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/import_0........ok
t/import_all......ok
t/import_ga.......ok
t/normal..........ok 1/27
t/normal..........NOK 3# Failed test 'not empty'
# at t/normal.t line 9.
# got: ''
# expected: anything else
t/normal..........NOK 4# Failed test 'looks like an address'
# at t/normal.t line 10.
# FYI, your ethernet address is
# in integer bytes, that's
t/normal..........NOK 6# Failed test 'got 6 bytes'
# at t/normal.t line 23.
# got: '0'
# expected: '6'
# Looks like you failed 3 tests of 27.
t/normal..........dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 3-4, 6
Failed 3/27 tests, 88.89% okay
t/pod-coverage....ok
t/pod.............ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/normal.t 3 768 27 3 11.11% 3-4 6
Failed 1/6 test scripts, 83.33% okay. 3/38 subtests failed, 92.11% 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
更新
我正在使用CentOS 5.x
ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1145 errors:0 dropped:0 overruns:0 frame:0
TX packets:1145 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1243093 (1.1 MiB) TX bytes:1243093 (1.1 MiB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:23.29.xxx.xxx P-t-P:23.29.xxx.xxx Bcast:23.29.xxx.xxx Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1