2012-01-23, 12:07
Ok, so i've hit the same problem as mentioned right back at the start of the thread, can't use TheMovieDB:
edit: i should note that I'm running kFreeBSD which is effectively Debian Squeeze running on a BSD core, so although it's one of the more exotic OSes out there, it should have more in common with Debian-based issues than anything else.
further edit: the above problem was caused by a dependency that wouldn't install unless sudo was used. Problem is now solved
Quote:Running install for module 'WWW::TheMovieDB::Search'
Running make for P/PJ/PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz
Checksum for /home/simon/.cpan/sources/authors/id/P/PJ/PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz ok
CPAN.pm: Building P/PJ/PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz
Checking if your kit is complete...
Looks good
Warning: prerequisite Switch 0 not found.
Writing Makefile for WWW::TheMovieDB::Search
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz ----
Switch [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'Switch'
Running make for R/RG/RGARCIA/Switch-2.16.tar.gz
Checksum for /home/simon/.cpan/sources/authors/id/R/RG/RGARCIA/Switch-2.16.tar.gz ok
CPAN.pm: Building R/RG/RGARCIA/Switch-2.16.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Switch
Writing MYMETA.yml and MYMETA.json
cp Switch.pm blib/lib/Switch.pm
Manifying blib/man3/Switch.3
RGARCIA/Switch-2.16.tar.gz
/usr/bin/make -- OK
'YAML' not installed, will not store persistent state
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/given.t ... Useless use of numeric gt (>) in void context at t/given.t line 19.
t/given.t ... Failed 2/293 subtests
t/nested.t .. ok
t/switch.t .. ok
Test Summary Report
-------------------
t/given.t (Wstat: 0 Tests: 293 Failed: 2)
Failed tests: 2-3
Files=3, Tests=590, 0 wallclock secs ( 0.05 usr 0.00 sys + 0.33 cusr 0.00 csys = 0.38 CPU)
Result: FAIL
Failed 1/3 test programs. 2/590 subtests failed.
make: *** [test_dynamic] Error 255
RGARCIA/Switch-2.16.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports RGARCIA/Switch-2.16.tar.gz
Running make install
make test had returned bad status, won't install without force
Running make for P/PJ/PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz
Has already been unwrapped into directory /home/simon/.cpan/build/WWW-TheMovieDB-Search-VVDiKe
CPAN.pm: Building P/PJ/PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz
Warning: Prerequisite 'Switch => 0' for 'PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz' failed when processing 'RGARCIA/Switch-2.16.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
cp lib/WWW/TheMovieDB/Search.pm blib/lib/WWW/TheMovieDB/Search.pm
Manifying blib/man3/WWW::TheMovieDB::Search.3
PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/WWW-TheMovieDB-Search.t .. 1/1
# Failed test 'use WWW::TheMovieDB::Search;'
# at t/WWW-TheMovieDB-Search.t line 9.
# Tried to use 'WWW::TheMovieDB::Search'.
# Error: Can't locate Switch.pm in @INC (@INC contains: /home/simon/.cpan/build/WWW-TheMovieDB-Search-VVDiKe/blib/lib /home/simon/.cpan/build/WWW-TheMovieDB-Search-VVDiKe/blib/arch /usr/local/lib/perl5/site_perl/5.15.4/x86_64-gnukfreebsd /usr/local/lib/perl5/site_perl/5.15.4 /usr/local/lib/perl5/5.15.4/x86_64-gnukfreebsd /usr/local/lib/perl5/5.15.4 .) at /home/simon/.cpan/build/WWW-TheMovieDB-Search-VVDiKe/blib/lib/WWW/TheMovieDB/Search.pm line 8.
# BEGIN failed--compilation aborted at /home/simon/.cpan/build/WWW-TheMovieDB-Search-VVDiKe/blib/lib/WWW/TheMovieDB/Search.pm line 8.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/WWW-TheMovieDB-Search.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
t/WWW-TheMovieDB-Search.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=1, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.05 cusr 0.00 csys = 0.07 CPU)
Result: FAIL
Failed 1/1 test programs. 1/1 subtests failed.
make: *** [test_dynamic] Error 1
PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz
one dependency not OK (Switch); additionally test harness failed
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz
Running make install
make test had returned bad status, won't install
edit: i should note that I'm running kFreeBSD which is effectively Debian Squeeze running on a BSD core, so although it's one of the more exotic OSes out there, it should have more in common with Debian-based issues than anything else.
further edit: the above problem was caused by a dependency that wouldn't install unless sudo was used. Problem is now solved