Subject: | Installation fails due to missing dependency |
Installation fails (with tests) due to a missing build requirement uf
Test::UseAllModules.pm.
Please consider either not using it or adding it to the BuildRequires
[root@centos5 ~]# cpanm --verbose --install Test::Memory::Usage
cpanm (App::cpanminus) 1.4008 on perl 5.014001 built for x86_64-linux
Work directory is /root/.cpanm/work/1312785869.16976
You have make /usr/bin/make
You have LWP 6.02
You have /bin/tar: tar (GNU tar) 1.15.1
You have /usr/bin/unzip
Searching Test::Memory::Usage on cpanmetadb ...
--> Working on Test::Memory::Usage
Fetching
http://search.cpan.org/CPAN/authors/id/C/CH/CHISEL/Test-Memory-Usage-0.0.2.tar.gz
... OK
Unpacking Test-Memory-Usage-0.0.2.tar.gz
Test-Memory-Usage-0.0.2
Test-Memory-Usage-0.0.2/README
Test-Memory-Usage-0.0.2/Changes
Test-Memory-Usage-0.0.2/LICENSE
Test-Memory-Usage-0.0.2/dist.ini
Test-Memory-Usage-0.0.2/META.yml
Test-Memory-Usage-0.0.2/MANIFEST
Test-Memory-Usage-0.0.2/SIGNATURE
Test-Memory-Usage-0.0.2/README.mkdn
Test-Memory-Usage-0.0.2/t
Test-Memory-Usage-0.0.2/t/00-load.t
Test-Memory-Usage-0.0.2/Makefile.PL
Test-Memory-Usage-0.0.2/t/large.growth.t
Test-Memory-Usage-0.0.2/t/small.growth.t
Test-Memory-Usage-0.0.2/t/foreach.usage.t
Test-Memory-Usage-0.0.2/t/release-no-tabs.t
Test-Memory-Usage-0.0.2/t/multiple.markers.t
Test-Memory-Usage-0.0.2/t/release-kwalitee.t
Test-Memory-Usage-0.0.2/t/release-pod-syntax.t
Test-Memory-Usage-0.0.2/lib/Test/Memory
Test-Memory-Usage-0.0.2/lib/Test/Memory/Usage.pm
Test-Memory-Usage-0.0.2/t/release-pod-coverage.t
Entering Test-Memory-Usage-0.0.2
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.30 ... Yes (6.57_05)
Configuring Test-Memory-Usage-0.0.2 ... Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Test::Memory::Usage
Writing MYMETA.yml
OK
Checking dependencies from MYMETA.yml ...
Finding PREREQ from Makefile ...
Checking if you have Memory::Usage 0 ... Yes (0.201)
Checking if you have Test::Most 0 ... Yes (0.24)
Checking if you have Memory::Usage 0 ... Yes (0.201)
Checking if you have Test::Most 0 ... Yes (0.24)
Building and testing Test-Memory-Usage-0.0.2 ... cp
lib/Test/Memory/Usage.pm blib/lib/Test/Memory/Usage.pm
Manifying blib/man3/Test::Memory::Usage.3
PERL_DL_NONLAZY=1 /opt/perl5/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ............... Can't locate Test/UseAllModules.pm in @INC
(@INC contains:
/root/.cpanm/work/1312785869.16976/Test-Memory-Usage-0.0.2/blib/lib
/root/.cpanm/work/1312785869.16976/Test-Memory-Usage-0.0.2/blib/arch
/opt/perl5/lib/site_perl/5.14.1/x86_64-linux
/opt/perl5/lib/site_perl/5.14.1 /opt/perl5/lib/5.14.1/x86_64-linux
/opt/perl5/lib/5.14.1 .) at t/00-load.t line 2.
BEGIN failed--compilation aborted at t/00-load.t line 2.
t/00-load.t ............... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/foreach.usage.t ......... ok
t/large.growth.t .......... ok
t/multiple.markers.t ...... ok
t/release-kwalitee.t ...... skipped: these tests are for release
candidate testing
t/release-no-tabs.t ....... skipped: these tests are for release
candidate testing
t/release-pod-coverage.t .. skipped: these tests are for release
candidate testing
t/release-pod-syntax.t .... skipped: these tests are for release
candidate testing
t/small.growth.t .......... ok
Test Summary Report
-------------------
t/00-load.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=9, Tests=4, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.84 cusr
0.14 csys = 1.02 CPU)
Result: FAIL
Failed 1/9 test programs. 0/4 subtests failed.
make: *** [test_dynamic] Error 255
FAIL
! Installing Test::Memory::Usage failed. See /root/.cpanm/build.log for
details.