Subject: | Unable to build Net::Couchdb on Ubuntu 10.04 |
make test fails at:
t/04-db.t ......... Can't locate MockCouch.pm in @INC
Show quoted text
---------------the whole shebang--------------------
~/Net-CouchDb-0.04$ perl Makefile.PL && make
Checking if your kit is complete...
Looks good
Writing Makefile for Net::CouchDb
cp lib/Net/CouchDb/Document.pm blib/lib/Net/CouchDb/Document.pm
cp lib/Net/CouchDb.pm blib/lib/Net/CouchDb.pm
cp lib/Net/CouchDb/Attach.pm blib/lib/Net/CouchDb/Attach.pm
cp lib/Net/CouchDb/Database.pm blib/lib/Net/CouchDb/Database.pm
Manifying blib/man3/Net::CouchDb::Document.3pm
Manifying blib/man3/Net::CouchDb::Attach.3pm
Manifying blib/man3/Net::CouchDb.3pm
Manifying blib/man3/Net::CouchDb::Database.3pm
~/Net-CouchDb-0.04$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ....... 1/1 # Testing Net::CouchDb 0.04, Perl 5.010001,
/usr/bin/perl
t/00-load.t ....... ok
t/01-live.t ....... ok
t/02-uri.t ........ ok
t/03-attach.t ..... ok
t/04-db.t ......... Can't locate MockCouch.pm in @INC (@INC contains: .
t /home/doug/Net-CouchDb-0.04/blib/lib /home/doug/Net-CouchDb-
0.04/blib/arch /etc/perl /usr/local/lib/perl/5.10.1
/usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at
t/04-db.t line 8.
BEGIN failed--compilation aborted at t/04-db.t line 8.
# Looks like your test exited with 2 before it could output anything.
t/04-db.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 18/18 subtests
t/05-doc.t ........ Can't locate MockCouch.pm in @INC (@INC contains: .
t /home/doug/Net-CouchDb-0.04/blib/lib /home/doug/Net-CouchDb-
0.04/blib/arch /etc/perl /usr/local/lib/perl/5.10.1
/usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at
t/05-doc.t line 8.
BEGIN failed--compilation aborted at t/05-doc.t line 8.
# Looks like your test exited with 2 before it could output anything.
t/05-doc.t ........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/9 subtests
t/pod-coverage.t .. ok
Test Summary Report
-------------------
t/04-db.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 18 tests but ran 0.
t/05-doc.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 9 tests but ran 0.
Files=7, Tests=36, 1 wallclock secs ( 0.03 usr 0.04 sys + 0.70 cusr
0.05 csys = 0.82 CPU)
Result: FAIL
Failed 2/7 test programs. 0/36 subtests failed.
make: *** [test_dynamic] Error 255
goat@airstream:~/Net-CouchDb-0.04$ find ./ | grep Mock