Subject: | possible typo in tests |
whilst installing DBD::Google with using the cpan installer on redhat 9
i get the following faliures during the tests , looks like a typo to me.
Show quoted text
>perl -MCPAN -e'install DBD::Google'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 16 Feb 2004 02:49:34 GMT
Running install for module DBD::Google
Running make for D/DA/DARREN/DBD-Google-0.05.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/D/DA/DARREN/DBD-Google-0.05.tar.gz ok
Scanning cache /root/.cpan/build for sizes
DBD-Google-0.05/
DBD-Google-0.05/t/
DBD-Google-0.05/t/sth.t
DBD-Google-0.05/t/sample-key
DBD-Google-0.05/t/load.t
DBD-Google-0.05/t/parser.t
DBD-Google-0.05/t/connect.t
DBD-Google-0.05/README
DBD-Google-0.05/lib/
DBD-Google-0.05/lib/DBD/
DBD-Google-0.05/lib/DBD/Google/
DBD-Google-0.05/lib/DBD/Google/parser.pm
DBD-Google-0.05/lib/DBD/Google/db.pm
DBD-Google-0.05/lib/DBD/Google/dr.pm
DBD-Google-0.05/lib/DBD/Google/st.pm
DBD-Google-0.05/lib/DBD/Google.pm
DBD-Google-0.05/MANIFEST
DBD-Google-0.05/MANIFEST.SKIP
DBD-Google-0.05/Makefile.PL
Removing previously used /root/.cpan/build/DBD-Google-0.05
CPAN.pm: Going to build D/DA/DARREN/DBD-Google-0.05.tar.gz
Checking if your kit is complete...
Looks good
Using DBI 1.38 installed in /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI
Writing Makefile for DBD::Google
cp lib/DBD/Google/dr.pm blib/lib/DBD/Google/dr.pm
cp lib/DBD/Google/parser.pm blib/lib/DBD/Google/parser.pm
cp lib/DBD/Google/st.pm blib/lib/DBD/Google/st.pm
cp lib/DBD/Google.pm blib/lib/DBD/Google.pm
cp lib/DBD/Google/db.pm blib/lib/DBD/Google/db.pm
Manifying blib/man3/DBD::Google.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/connect....install_driver(google) failed: Can't locate DBD/google.pm in @INC (@INC contains: /root/.cpan/build/DBD-Google-0.05/blib/lib /root/.cpan/build/DBD-Google-0.05/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at (eval 1) line 3.
Perhaps the DBD::google perl module hasn't been fully installed,
or perhaps the capitalisation of 'google' isn't right.
Available drivers: ExampleP, Google, Pg, Proxy, Sponge, mysql.
at t/connect.t line 16
# Looks like your test died before it could output anything.
t/connect....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/load.......ok
t/parser.....ok
t/sth........install_driver(google) failed: Can't locate DBD/google.pm in @INC (@INC contains: /root/.cpan/build/DBD-Google-0.05/blib/lib /root/.cpan/build/DBD-Google-0.05/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at (eval 1) line 3.
Perhaps the DBD::google perl module hasn't been fully installed,
or perhaps the capitalisation of 'google' isn't right.
Available drivers: ExampleP, Google, Pg, Proxy, Sponge, mysql.
at t/sth.t line 14
# Looks like your test died before it could output anything.
t/sth........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/connect.t 255 65280 7 7 100.00% 1-7
t/sth.t 255 65280 2 2 100.00% 1-2
Failed 2/4 test scripts, 50.00% okay. 9/42 subtests failed, 78.57% okay.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
I'm using perl 5.8.0 built for i386-linux-thread-multi on Linux home 2.6.0 #2 Thu Jan 8 00:24:32 GMT 2004 i586 i586 i386 GNU/Linux
Toodle-pip
Amias