Failed test (t/10mysql.t at line 35)

  • Thread starter Alexandre Jaquet
  • Start date
A

Alexandre Jaquet

I'm trying to install Apache::DBI on a unix server

conf : Embedded Perl version v5.8.6 for Apache/2.0.53 (FreeBSD)
PHP/5.0.3 mod_perl/1.999.20 Perl/v5.8.6 process 70325

but got the following error message :

Checking if your kit is complete...
Looks good
Writing Makefile for Apache::DBI
cp AuthDBI.pm blib/lib/Apache/AuthDBI.pm
cp DBI.pm blib/lib/Apache/DBI.pm
Manifying blib/man3/Apache::DBI.3
Manifying blib/man3/Apache::AuthDBI.3
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harne
ss(0, 'blib/lib', 'blib/arch')" t/*.t
t/10mysql....NOK 5# Failed test (t/10mysql.t at line 35)
# The object isn't defined
t/10mysql....ok 6/10# Looks like you failed 1 tests of 10.
t/10mysql....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
Failed 1/10 tests, 90.00% okay (less 5 skipped tests: 4 okay,
40.00%)
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/10mysql.t 1 256 10 1 10.00% 5
5 subtests skipped.
Failed 1/1 test scripts, 0.00% okay. 1/10 subtests failed, 90.00% okay.
*** Error code 2

Stop in /root/.cpan/build/Apache-DBI-0.94.
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

any idea ?
 
A

Alexandre Jaquet

Alexandre Jaquet a écrit :
I'm trying to install Apache::DBI on a unix server

conf : Embedded Perl version v5.8.6 for Apache/2.0.53 (FreeBSD)
PHP/5.0.3 mod_perl/1.999.20 Perl/v5.8.6 process 70325

but got the following error message :

Checking if your kit is complete...
Looks good
Writing Makefile for Apache::DBI
cp AuthDBI.pm blib/lib/Apache/AuthDBI.pm
cp DBI.pm blib/lib/Apache/DBI.pm
Manifying blib/man3/Apache::DBI.3
Manifying blib/man3/Apache::AuthDBI.3
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harne
ss(0, 'blib/lib', 'blib/arch')" t/*.t
t/10mysql....NOK 5# Failed test (t/10mysql.t at line 35)
# The object isn't defined
t/10mysql....ok 6/10# Looks like you failed 1 tests of 10.
t/10mysql....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
Failed 1/10 tests, 90.00% okay (less 5 skipped tests: 4 okay,
40.00%)
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------

t/10mysql.t 1 256 10 1 10.00% 5
5 subtests skipped.
Failed 1/1 test scripts, 0.00% okay. 1/10 subtests failed, 90.00% okay.
*** Error code 2

Stop in /root/.cpan/build/Apache-DBI-0.94.
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

any idea ?

I finally installed manually without making make test. But I didn't
understand why this error :(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top